Re: [PATCH v3 6/7] Mark a few functions with the printf attribute

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

 



Hi,

[auto build test WARNING on next-20160726]
[cannot apply to stable/master linus/master linux/master v4.7-rc7 v4.7-rc6 v4.7-rc5 v4.7]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Emese-Revfy/Introduce-the-initify-gcc-plugin/20160727-084514
config: x86_64-randconfig-s0-07270838 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   drivers/scsi/esas2r/esas2r_init.c: In function 'esas2r_claim_interrupts':
>> drivers/scsi/esas2r/esas2r_init.c:241: warning: format '%x' expects type 'unsigned int', but argument 6 has type 'long unsigned int'
--
   drivers/scsi/esas2r/esas2r_ioctl.c: In function 'esas2r_ioctl_handler':
>> drivers/scsi/esas2r/esas2r_ioctl.c:1305: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'
--
   drivers/scsi/esas2r/esas2r_main.c: In function 'write_hw':
>> drivers/scsi/esas2r/esas2r_main.c:202: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'
   drivers/scsi/esas2r/esas2r_main.c: In function 'esas2r_dev_targ_reset':
>> drivers/scsi/esas2r/esas2r_main.c:1191: warning: format '%d' expects type 'int', but argument 4 has type 'u64'

vim +241 drivers/scsi/esas2r/esas2r_init.c

26780d9e Bradley Grove      2013-08-23  225  			   "unknown interrupt_mode %d requested, "
26780d9e Bradley Grove      2013-08-23  226  			   "falling back to legacy interrupt",
26780d9e Bradley Grove      2013-08-23  227  			   interrupt_mode);
26780d9e Bradley Grove      2013-08-23  228  		goto use_legacy_interrupts;
26780d9e Bradley Grove      2013-08-23  229  	}
26780d9e Bradley Grove      2013-08-23  230  }
26780d9e Bradley Grove      2013-08-23  231  
26780d9e Bradley Grove      2013-08-23  232  static void esas2r_claim_interrupts(struct esas2r_adapter *a)
26780d9e Bradley Grove      2013-08-23  233  {
4909cc2b Michael Opdenacker 2014-03-05  234  	unsigned long flags = 0;
26780d9e Bradley Grove      2013-08-23  235  
26780d9e Bradley Grove      2013-08-23  236  	if (a->intr_mode == INTR_MODE_LEGACY)
26780d9e Bradley Grove      2013-08-23  237  		flags |= IRQF_SHARED;
26780d9e Bradley Grove      2013-08-23  238  
26780d9e Bradley Grove      2013-08-23  239  	esas2r_log(ESAS2R_LOG_INFO,
26780d9e Bradley Grove      2013-08-23  240  		   "esas2r_claim_interrupts irq=%d (%p, %s, %x)",
26780d9e Bradley Grove      2013-08-23 @241  		   a->pcid->irq, a, a->name, flags);
26780d9e Bradley Grove      2013-08-23  242  
26780d9e Bradley Grove      2013-08-23  243  	if (request_irq(a->pcid->irq,
26780d9e Bradley Grove      2013-08-23  244  			(a->intr_mode ==
26780d9e Bradley Grove      2013-08-23  245  			 INTR_MODE_LEGACY) ? esas2r_interrupt :
26780d9e Bradley Grove      2013-08-23  246  			esas2r_msi_interrupt,
26780d9e Bradley Grove      2013-08-23  247  			flags,
26780d9e Bradley Grove      2013-08-23  248  			a->name,
26780d9e Bradley Grove      2013-08-23  249  			a)) {

:::::: The code at line 241 was first introduced by commit
:::::: 26780d9e12edf45c0b98315de272b1feff5a8e93 [SCSI] esas2r: ATTO Technology ExpressSAS 6G SAS/SATA RAID Adapter Driver

:::::: TO: Bradley Grove <bgrove@xxxxxxxxxxxx>
:::::: CC: James Bottomley <JBottomley@xxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux