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 <l...@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-...@lists.01.org

Attachment: .config.gz
Description: application/gzip

Reply via email to