Hi "Saheed, [FYI, it's a private test report for your RFC patch.] [auto build test WARNING on wsa/i2c/for-next] [also build test WARNING on linus/master v5.8-rc7 next-20200731] [cannot apply to ras/edac-for-next] [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/Saheed-O-Bolarinwa/Drop-uses-of-pci_read_config_-return-value/20200801-202925 base: https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-next config: arm64-randconfig-r032-20200801 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 9f21947a331203ee2579db87f1d1ec22a949e20a) 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 # 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 All warnings (new ones prefixed by >>): >> drivers/fpga/altera-cvp.c:100:14: warning: comparison between pointer and integer ('u8 *' (aka 'unsigned char *') and 'u8' (aka 'unsigned char')) [-Wpointer-integer-compare] return (val == (u8)~0) ? -ENODEV : 0; ~~~ ^ ~~~~~~ >> drivers/fpga/altera-cvp.c:107:14: warning: comparison between pointer and integer ('u32 *' (aka 'unsigned int *') and 'u32' (aka 'unsigned int')) [-Wpointer-integer-compare] return (val == (u32)~0) ? -ENODEV : 0; ~~~ ^ ~~~~~~~ 2 warnings generated. vim +100 drivers/fpga/altera-cvp.c 95 96 static int altera_read_config_byte(struct altera_cvp_conf *conf, 97 int where, u8 *val) 98 { 99 pci_read_config_byte(conf->pci_dev, conf->vsec_offset + where, val); > 100 return (val == (u8)~0) ? -ENODEV : 0; 101 } 102 103 static int altera_read_config_dword(struct altera_cvp_conf *conf, 104 int where, u32 *val) 105 { 106 pci_read_config_dword(conf->pci_dev, conf->vsec_offset + where, val); > 107 return (val == (u32)~0) ? -ENODEV : 0; 108 } 109 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org