tree:
https://git.kernel.org/pub/scm/linux/kernel/git/colyli/linux-bcache.git for-next
head: 8ad224d299e082549e284f92105ad151fe1bc79d
commit: 366b8b8a1eab6bcbfb6ad33d53802fab0e2feb50 [24/26] bcache: add sysfs file to display
feature sets information of cache set
config: alpha-randconfig-s032-20200717 (attached as .config)
compiler: alpha-linux-gcc (GCC) 9.3.0
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.2-49-g707c5017-dirty
git checkout 366b8b8a1eab6bcbfb6ad33d53802fab0e2feb50
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1
CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=alpha
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
> drivers/md/bcache/features.c:22:16: sparse: sparse: Using plain
integer as NULL pointer
vim +22 drivers/md/bcache/features.c
558b3a263def958 Coly Li 2020-07-17 18
558b3a263def958 Coly Li 2020-07-17 19 static struct feature feature_list[] = {
558b3a263def958 Coly Li 2020-07-17 20 {BCH_FEATURE_INCOMPAT,
BCH_FEATURE_INCOMPAT_LARGE_BUCKET,
558b3a263def958 Coly Li 2020-07-17 21 "large_bucket"},
558b3a263def958 Coly Li 2020-07-17 @22 {0, 0, 0 },
558b3a263def958 Coly Li 2020-07-17 23 };
366b8b8a1eab6bc Coly Li 2020-07-17 24
:::::: The code at line 22 was first introduced by commit
:::::: 558b3a263def9580757cee376f667767742759b6 bcache: add bucket_size_hi into struct
cache_sb_disk for large bucket
:::::: TO: Coly Li <colyli(a)suse.de>
:::::: CC: Coly Li <colyli(a)suse.de>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org