All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v2] driver core: auxiliary bus: Fix calling stage for auxiliary bus init
Date: Wed, 10 Feb 2021 21:05:44 +0800	[thread overview]
Message-ID: <202102102101.1kDYREdH-lkp@intel.com> (raw)
In-Reply-To: <161290894138.1332691.10728435940944534434.stgit@djiang5-desk3.ch.intel.com>

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

Hi Dave,

I love your patch! Perhaps something to improve:

[auto build test WARNING on driver-core/driver-core-testing]
[also build test WARNING on linux/master linus/master v5.11-rc7 next-20210125]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Dave-Jiang/driver-core-auxiliary-bus-Fix-calling-stage-for-auxiliary-bus-init/20210210-090304
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git 3c9ea42802a1fbf7ef29660ff8c6e526c58114f6
config: arm64-randconfig-r012-20210209 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c9439ca36342fb6013187d0a69aef92736951476)
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
        # install arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://github.com/0day-ci/linux/commit/97ee533f0e048844cd7804bbd0fac219a76b8bf5
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Dave-Jiang/driver-core-auxiliary-bus-Fix-calling-stage-for-auxiliary-bus-init/20210210-090304
        git checkout 97ee533f0e048844cd7804bbd0fac219a76b8bf5
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang 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/base/auxiliary.c:263:12: warning: no previous prototype for function 'auxiliary_bus_init' [-Wmissing-prototypes]
   int __init auxiliary_bus_init(void)
              ^
   drivers/base/auxiliary.c:263:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int __init auxiliary_bus_init(void)
   ^
   static 
   1 warning generated.


vim +/auxiliary_bus_init +263 drivers/base/auxiliary.c

   262	
 > 263	int __init auxiliary_bus_init(void)
   264	{
   265		return bus_register(&auxiliary_bus_type);
   266	}
   267	

---
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: 39575 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Dave Jiang <dave.jiang@intel.com>, gregkh@linuxfoundation.org
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
	Jacob Pan <jacob.jun.pan@intel.com>,
	Dave Ertman <david.m.ertman@intel.com>,
	Dan Williams <dan.j.williams@intel.com>,
	rafael@kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] driver core: auxiliary bus: Fix calling stage for auxiliary bus init
Date: Wed, 10 Feb 2021 21:05:44 +0800	[thread overview]
Message-ID: <202102102101.1kDYREdH-lkp@intel.com> (raw)
In-Reply-To: <161290894138.1332691.10728435940944534434.stgit@djiang5-desk3.ch.intel.com>

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

Hi Dave,

I love your patch! Perhaps something to improve:

[auto build test WARNING on driver-core/driver-core-testing]
[also build test WARNING on linux/master linus/master v5.11-rc7 next-20210125]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Dave-Jiang/driver-core-auxiliary-bus-Fix-calling-stage-for-auxiliary-bus-init/20210210-090304
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git 3c9ea42802a1fbf7ef29660ff8c6e526c58114f6
config: arm64-randconfig-r012-20210209 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c9439ca36342fb6013187d0a69aef92736951476)
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
        # install arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://github.com/0day-ci/linux/commit/97ee533f0e048844cd7804bbd0fac219a76b8bf5
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Dave-Jiang/driver-core-auxiliary-bus-Fix-calling-stage-for-auxiliary-bus-init/20210210-090304
        git checkout 97ee533f0e048844cd7804bbd0fac219a76b8bf5
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang 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/base/auxiliary.c:263:12: warning: no previous prototype for function 'auxiliary_bus_init' [-Wmissing-prototypes]
   int __init auxiliary_bus_init(void)
              ^
   drivers/base/auxiliary.c:263:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int __init auxiliary_bus_init(void)
   ^
   static 
   1 warning generated.


vim +/auxiliary_bus_init +263 drivers/base/auxiliary.c

   262	
 > 263	int __init auxiliary_bus_init(void)
   264	{
   265		return bus_register(&auxiliary_bus_type);
   266	}
   267	

---
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: 39575 bytes --]

  parent reply	other threads:[~2021-02-10 13:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-09 22:17 [PATCH v2] driver core: auxiliary bus: Fix calling stage for auxiliary bus init Dave Jiang
2021-02-10  6:44 ` Greg KH
2021-02-10 13:05 ` kernel test robot [this message]
2021-02-10 13:05   ` kernel test robot

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=202102102101.1kDYREdH-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /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.