Netdev Archive on
help / color / mirror / Atom feed
From: kernel test robot <>
To: Jonathan Lemon <>,,,
Subject: Re: [PATCH net-next] ptp: ocp: Expose various resources on the timecard.
Date: Sat, 31 Jul 2021 09:18:29 +0800	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

[-- Attachment #1: Type: text/plain, Size: 2253 bytes --]

Hi Jonathan,

I love your patch! Perhaps something to improve:

[auto build test WARNING on net-next/master]

base: bc830525615df6b6b1793ac23750f32695903fd0
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 10.3.0
reproduce (this is a W=1 build):
        wget -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git remote add linux-review
        git fetch --no-tags linux-review Jonathan-Lemon/ptp-ocp-Expose-various-resources-on-the-timecard/20210731-041447
        git checkout efb2c928bce8e0a5d32a5c3478398206e9aa26ff
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=arm64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <>

All warnings (new ones prefixed by >>):

   drivers/ptp/ptp_ocp.c: In function 'ptp_ocp_init':
>> drivers/ptp/ptp_ocp.c:1600:6: warning: variable 'err' set but not used [-Wunused-but-set-variable]
    1600 |  int err;
         |      ^~~

vim +/err +1600 drivers/ptp/ptp_ocp.c

efb2c928bce8e0 Jonathan Lemon 2021-07-30  1596  
a7e1abad13f3f0 Jonathan Lemon 2020-12-03  1597  static int __init
a7e1abad13f3f0 Jonathan Lemon 2020-12-03  1598  ptp_ocp_init(void)
a7e1abad13f3f0 Jonathan Lemon 2020-12-03  1599  {
a7e1abad13f3f0 Jonathan Lemon 2020-12-03 @1600  	int err;
a7e1abad13f3f0 Jonathan Lemon 2020-12-03  1601  
efb2c928bce8e0 Jonathan Lemon 2021-07-30  1602  	err = bus_register_notifier(&i2c_bus_type, &ptp_ocp_i2c_notifier);
efb2c928bce8e0 Jonathan Lemon 2021-07-30  1603  	return pci_register_driver(&ptp_ocp_driver);
a7e1abad13f3f0 Jonathan Lemon 2020-12-03  1604  }
a7e1abad13f3f0 Jonathan Lemon 2020-12-03  1605  

0-DAY CI Kernel Test Service, Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 77930 bytes --]

  reply	other threads:[~2021-07-31  1:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-30 20:13 Jonathan Lemon
2021-07-31  1:18 ` kernel test robot [this message]
2021-07-31 15:06 ` Jakub Kicinski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \
    --subject='Re: [PATCH net-next] ptp: ocp: Expose various resources on the timecard.' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).