Re: [PATCH v5] driver core: shut down devices asynchronously

From: kernel test robot
Date: Wed Nov 29 2023 - 00:54:47 EST


Hi Stuart,

kernel test robot noticed the following build warnings:

[auto build test WARNING on driver-core/driver-core-testing]
[also build test WARNING on driver-core/driver-core-next driver-core/driver-core-linus linus/master v6.7-rc3 next-20231128]
[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#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Stuart-Hayes/driver-core-shut-down-devices-asynchronously/20231129-055044
base: driver-core/driver-core-testing
patch link: https://lore.kernel.org/r/20231128210436.506510-1-stuart.w.hayes%40gmail.com
patch subject: [PATCH v5] driver core: shut down devices asynchronously
config: i386-randconfig-061-20231129 (https://download.01.org/0day-ci/archive/20231129/202311291142.I8HCRjsP-lkp@xxxxxxxxx/config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231129/202311291142.I8HCRjsP-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311291142.I8HCRjsP-lkp@xxxxxxxxx/

sparse warnings: (new ones prefixed by >>)
>> drivers/base/core.c:4782:1: sparse: sparse: symbol 'sd_domain' was not declared. Should it be static?
>> drivers/base/core.c:4783:16: sparse: sparse: symbol 'big_shutdown_cookie' was not declared. Should it be static?
drivers/base/core.c: note: in included file (through include/linux/mmzone.h, include/linux/gfp.h, include/linux/slab.h, ...):
include/linux/page-flags.h:242:46: sparse: sparse: self-comparison always evaluates to false

vim +/sd_domain +4782 drivers/base/core.c

4781
> 4782 ASYNC_DOMAIN(sd_domain);
> 4783 async_cookie_t big_shutdown_cookie;
4784

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki