All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Jonathan Lemon <jonathan.lemon@gmail.com>,
	davem@davemloft.net, kuba@kernel.org, richardcochran@gmail.com
Cc: kbuild-all@lists.01.org, netdev@vger.kernel.org, kernel-team@fb.com
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: <202107310936.xKaU88Y4-lkp@intel.com> (raw)
In-Reply-To: <20210730201354.1237659-1-jonathan.lemon@gmail.com>

[-- 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]

url:    https://github.com/0day-ci/linux/commits/Jonathan-Lemon/ptp-ocp-Expose-various-resources-on-the-timecard/20210731-041447
base:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git bc830525615df6b6b1793ac23750f32695903fd0
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 10.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/0day-ci/linux/commit/efb2c928bce8e0a5d32a5c3478398206e9aa26ff
        git remote add linux-review https://github.com/0day-ci/linux
        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 <lkp@intel.com>

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
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

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

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
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: <202107310936.xKaU88Y4-lkp@intel.com> (raw)
In-Reply-To: <20210730201354.1237659-1-jonathan.lemon@gmail.com>

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

Hi Jonathan,

I love your patch! Perhaps something to improve:

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

url:    https://github.com/0day-ci/linux/commits/Jonathan-Lemon/ptp-ocp-Expose-various-resources-on-the-timecard/20210731-041447
base:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git bc830525615df6b6b1793ac23750f32695903fd0
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 10.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/0day-ci/linux/commit/efb2c928bce8e0a5d32a5c3478398206e9aa26ff
        git remote add linux-review https://github.com/0day-ci/linux
        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 <lkp@intel.com>

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
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

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

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

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-30 20:13 [PATCH net-next] ptp: ocp: Expose various resources on the timecard Jonathan Lemon
2021-07-31  1:18 ` kernel test robot [this message]
2021-07-31  1:18   ` kernel test robot
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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=202107310936.xKaU88Y4-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=davem@davemloft.net \
    --cc=jonathan.lemon@gmail.com \
    --cc=kbuild-all@lists.01.org \
    --cc=kernel-team@fb.com \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=richardcochran@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.