From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============3395625502187862469==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [RFC PATCH 2/2] cifs: Implement cache I/O by accessing the cache directly Date: Tue, 25 Jan 2022 08:26:47 +0800 Message-ID: <202201250805.MGfPuo1x-lkp@intel.com> In-Reply-To: <164304351677.2349137.11658590526534563187.stgit@warthog.procyon.org.uk> List-Id: --===============3395625502187862469== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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-Transit= ion-from-readpages-to-readahead/20220125-010247 base: git://git.samba.org/sfrench/cifs-2.6.git for-next config: x86_64-randconfig-s022-20220124 (https://download.01.org/0day-ci/ar= chive/20220125/202201250805.MGfPuo1x-lkp(a)intel.com/config) 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/ad0df70284e96423c577eb30a= 366eb814888379b 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=3D1 C=3D1 CF=3D'-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=3D= build_dir ARCH=3Dx86_64 SHELL=3D/bin/bash drivers/vfio/pci/ fs/cifs/ mm/kas= an/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot 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 po= inter 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 =3D ULONG_MAX; > 144 _data_nr_pages =3D 0; 145 return -ENOBUFS; 146 } 147 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============3395625502187862469==--