Hi David,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on cifs/for-next]
[also build test WARNING on linus/master v5.17-rc1 next-20220124]
[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/David-Howells/cifs-Transition-fr...
base:
git://git.samba.org/sfrench/cifs-2.6.git for-next
config: x86_64-randconfig-s022-20220124
(
https://download.01.org/0day-ci/archive/20220125/202201250805.MGfPuo1x-lk...)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.4-dirty
#
https://github.com/0day-ci/linux/commit/ad0df70284e96423c577eb30a366eb814...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
David-Howells/cifs-Transition-from-readpages-to-readahead/20220125-010247
git checkout ad0df70284e96423c577eb30a366eb814888379b
# save the config file to linux build tree
mkdir build_dir
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir
ARCH=x86_64 SHELL=/bin/bash drivers/vfio/pci/ fs/cifs/ mm/kasan/
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 >>)
fs/cifs/file.c: note: in included file:
> fs/cifs/fscache.h:143:21: sparse: sparse: incorrect type in
assignment (different base types) @@ expected unsigned long *_data_first @@ got
unsigned long @@
fs/cifs/fscache.h:143:21: sparse: expected unsigned long
*_data_first
fs/cifs/fscache.h:143:21: sparse: got unsigned long
> fs/cifs/fscache.h:144:26: sparse: sparse: Using plain integer as
NULL pointer
vim +143 fs/cifs/fscache.h
137
138 static inline int cifs_fscache_query_occupancy(struct inode *inode,
139 pgoff_t first, unsigned nr_pages,
140 pgoff_t *_data_first,
141 unsigned int *_data_nr_pages)
142 {
143 _data_first = ULONG_MAX;
144 _data_nr_pages = 0;
145 return -ENOBUFS;
146 }
147
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org