Re: [PATCH v2] scsi: kconfig: When possible, compile drivers with COMPILE_TEST

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Luis,

[auto build test ERROR on scsi/for-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base]

url:    https://github.com/0day-ci/linux/commits/Luis-de-Bethencourt/scsi-kconfig-When-possible-compile-drivers-with-COMPILE_TEST/20151015-073819
config: um-allmodconfig (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=um 

All error/warnings (new ones prefixed by >>):

   drivers/scsi/aha152x.c: In function 'aha152x_init':
>> drivers/scsi/aha152x.c:3261:22: error: implicit declaration of function 'ioremap' [-Werror=implicit-function-declaration]
       void __iomem *p = ioremap(addresses[i], 0x4000);
                         ^
>> drivers/scsi/aha152x.c:3261:22: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
>> drivers/scsi/aha152x.c:3267:4: error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration]
       iounmap(p);
       ^
   cc1: some warnings being treated as errors
--
   drivers/scsi/in2000.c: In function 'probe_bios':
>> drivers/scsi/in2000.c:1903:20: error: implicit declaration of function 'ioremap' [-Werror=implicit-function-declaration]
     void __iomem *p = ioremap(addr, 0x34);
                       ^
>> drivers/scsi/in2000.c:1903:20: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
>> drivers/scsi/in2000.c:1910:3: error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration]
      iounmap(p);
      ^
   cc1: some warnings being treated as errors
--
   In file included from drivers/scsi/g_NCR5380_mmio.c:9:0:
   drivers/scsi/g_NCR5380.c: In function 'generic_NCR5380_detect':
>> drivers/scsi/g_NCR5380.c:399:11: error: implicit declaration of function 'ioremap' [-Werror=implicit-function-declaration]
      iomem = ioremap(base, NCR5380_region_size);
              ^
>> drivers/scsi/g_NCR5380.c:399:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
      iomem = ioremap(base, NCR5380_region_size);
            ^
>> drivers/scsi/g_NCR5380.c:410:4: error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration]
       iounmap(iomem);
       ^
   cc1: some warnings being treated as errors
--
   drivers/scsi/t128.c: In function 't128_detect':
>> drivers/scsi/t128.c:180:10: error: implicit declaration of function 'ioremap' [-Werror=implicit-function-declaration]
         p = ioremap(bases[current_base].address, 0x2000);
             ^
>> drivers/scsi/t128.c:180:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
         p = ioremap(bases[current_base].address, 0x2000);
           ^
   drivers/scsi/t128.c:190:5: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
      p = ioremap(bases[current_base].address, 0x2000);
        ^
>> drivers/scsi/t128.c:203:3: error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration]
      iounmap(p);
      ^
   cc1: some warnings being treated as errors
--
   drivers/scsi/dtc.c: In function 'dtc_detect':
>> drivers/scsi/dtc.c:203:11: error: implicit declaration of function 'ioremap' [-Werror=implicit-function-declaration]
       base = ioremap(addr, 0x2000);
              ^
>> drivers/scsi/dtc.c:203:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
       base = ioremap(addr, 0x2000);
            ^
   drivers/scsi/dtc.c:213:10: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
        base = ioremap(bases[current_base].address, 0x2000);
             ^
>> drivers/scsi/dtc.c:225:5: error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration]
        iounmap(base);
        ^
   cc1: some warnings being treated as errors

vim +/ioremap +3261 drivers/scsi/aha152x.c

^1da177e Linus Torvalds  2005-04-16  3255  
^1da177e Linus Torvalds  2005-04-16  3256  #if defined(AUTOCONF)
^1da177e Linus Torvalds  2005-04-16  3257  	if (setup_count<ARRAY_SIZE(setup)) {
^1da177e Linus Torvalds  2005-04-16  3258  #if !defined(SKIP_BIOSTEST)
^1da177e Linus Torvalds  2005-04-16  3259  		ok = 0;
^1da177e Linus Torvalds  2005-04-16  3260  		for (i = 0; i < ARRAY_SIZE(addresses) && !ok; i++) {
^1da177e Linus Torvalds  2005-04-16 @3261  			void __iomem *p = ioremap(addresses[i], 0x4000);
^1da177e Linus Torvalds  2005-04-16  3262  			if (!p)
^1da177e Linus Torvalds  2005-04-16  3263  				continue;
^1da177e Linus Torvalds  2005-04-16  3264  			for (j = 0; j<ARRAY_SIZE(signatures) && !ok; j++)
^1da177e Linus Torvalds  2005-04-16  3265  				ok = check_signature(p + signatures[j].sig_offset,
^1da177e Linus Torvalds  2005-04-16  3266  								signatures[j].signature, signatures[j].sig_length);
^1da177e Linus Torvalds  2005-04-16 @3267  			iounmap(p);
^1da177e Linus Torvalds  2005-04-16  3268  		}
^1da177e Linus Torvalds  2005-04-16  3269  		if (!ok && setup_count == 0)
ad2fa42d James Bottomley 2008-05-10  3270  			return -ENODEV;

:::::: The code at line 3261 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux