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 ide/master v5.8 next-20200805] [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: i386-randconfig-s001-20200805 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.2-117-g8c7aee71-dirty # save the attached .config to linux build tree make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) >> drivers/fpga/altera-cvp.c:100:21: sparse: sparse: incompatible types for operation (==): >> drivers/fpga/altera-cvp.c:100:21: sparse: unsigned char [usertype] *val >> drivers/fpga/altera-cvp.c:100:21: sparse: unsigned char [usertype] drivers/fpga/altera-cvp.c:107:21: sparse: sparse: incompatible types for operation (==): >> drivers/fpga/altera-cvp.c:107:21: sparse: unsigned int [usertype] *val >> drivers/fpga/altera-cvp.c:107:21: sparse: unsigned int [usertype] 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