Hi Maneesh, [auto build test WARNING on scsi/for-next] [also build test WARNING on v4.4 next-20160119] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Singhal-Maneesh/drivers-scsi-emcctd-drivers-scsi-emcctd-Client-driver-implementation-for-EMC-Symmetrix-GuestOS-emulated-Cut-Through-Device/20160119-200115 base: https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next config: i386-allmodconfig (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=i386 All warnings (new ones prefixed by >>): drivers/scsi/emcctd/emcctd.c: In function 'ctd_proc_show': >> drivers/scsi/emcctd/emcctd.c:239:4: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] "number interrupts: %ld\n" ^ drivers/scsi/emcctd/emcctd.c:239:4: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int' [-Wformat=] drivers/scsi/emcctd/emcctd.c:239:4: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'int' [-Wformat=] drivers/scsi/emcctd/emcctd.c:239:4: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'int' [-Wformat=] drivers/scsi/emcctd/emcctd.c:239:4: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'int' [-Wformat=] drivers/scsi/emcctd/emcctd.c:239:4: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'int' [-Wformat=] drivers/scsi/emcctd/emcctd.c:239:4: warning: format '%ld' expects argument of type 'long int', but argument 9 has type 'int' [-Wformat=] drivers/scsi/emcctd/emcctd.c:239:4: warning: format '%ld' expects argument of type 'long int', but argument 10 has type 'int' [-Wformat=] drivers/scsi/emcctd/emcctd.c:239:4: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'int' [-Wformat=] In file included from include/linux/printk.h:6:0, from include/linux/kernel.h:13, from drivers/scsi/emcctd/emcctd.c:25: drivers/scsi/emcctd/emcctd.c: In function 'ctd_scsi_response_sanity_check': >> include/linux/kern_levels.h:4:18: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'int' [-Wformat=] #define KERN_SOH "\001" /* ASCII Start Of Header */ ^ include/linux/kern_levels.h:9:19: note: in expansion of macro 'KERN_SOH' #define KERN_CRIT KERN_SOH "2" /* critical conditions */ ^ >> include/linux/printk.h:250:9: note: in expansion of macro 'KERN_CRIT' printk(KERN_CRIT pr_fmt(fmt), ##__VA_ARGS__) ^ >> drivers/scsi/emcctd/emcctd.h:52:3: note: in expansion of macro 'pr_crit' pr_crit("%s:%d:"__m_fmt, __func__, __LINE__, ##__VA_ARGS__) ^ >> drivers/scsi/emcctd/emcctd.c:655:3: note: in expansion of macro 'ctd_dprintk_crit' ctd_dprintk_crit( ^ include/linux/kern_levels.h:4:18: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'int' [-Wformat=] #define KERN_SOH "\001" /* ASCII Start Of Header */ ^ include/linux/kern_levels.h:9:19: note: in expansion of macro 'KERN_SOH' #define KERN_CRIT KERN_SOH "2" /* critical conditions */ ^ >> include/linux/printk.h:250:9: note: in expansion of macro 'KERN_CRIT' printk(KERN_CRIT pr_fmt(fmt), ##__VA_ARGS__) ^ >> drivers/scsi/emcctd/emcctd.h:52:3: note: in expansion of macro 'pr_crit' pr_crit("%s:%d:"__m_fmt, __func__, __LINE__, ##__VA_ARGS__) ^ >> drivers/scsi/emcctd/emcctd.c:655:3: note: in expansion of macro 'ctd_dprintk_crit' ctd_dprintk_crit( ^ drivers/scsi/emcctd/emcctd.c: In function 'ctd_handle_scsi_response': >> include/linux/kern_levels.h:4:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'int' [-Wformat=] #define KERN_SOH "\001" /* ASCII Start Of Header */ ^ include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH' #define KERN_INFO KERN_SOH "6" /* informational */ ^ include/linux/printk.h:259:9: note: in expansion of macro 'KERN_INFO' printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) ^ >> drivers/scsi/emcctd/emcctd.h:48:3: note: in expansion of macro 'pr_info' pr_info("%s:%d:"__m_fmt, __func__, __LINE__, ##__VA_ARGS__); \ ^ >> drivers/scsi/emcctd/emcctd.c:878:3: note: in expansion of macro 'ctd_dprintk' ctd_dprintk( ^ drivers/scsi/emcctd/emcctd.c: In function 'ctd_pci_probe': >> include/linux/kern_levels.h:4:18: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 4 has type 'resource_size_t {aka unsigned int}' [-Wformat=] #define KERN_SOH "\001" /* ASCII Start Of Header */ ^ include/linux/kern_levels.h:9:19: note: in expansion of macro 'KERN_SOH' #define KERN_CRIT KERN_SOH "2" /* critical conditions */ ^ >> include/linux/printk.h:250:9: note: in expansion of macro 'KERN_CRIT' printk(KERN_CRIT pr_fmt(fmt), ##__VA_ARGS__) ^ >> drivers/scsi/emcctd/emcctd.h:52:3: note: in expansion of macro 'pr_crit' pr_crit("%s:%d:"__m_fmt, __func__, __LINE__, ##__VA_ARGS__) ^ drivers/scsi/emcctd/emcctd.c:2588:3: note: in expansion of macro 'ctd_dprintk_crit' ctd_dprintk_crit( ^ >> include/linux/kern_levels.h:4:18: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 4 has type 'resource_size_t {aka unsigned int}' [-Wformat=] #define KERN_SOH "\001" /* ASCII Start Of Header */ ^ include/linux/kern_levels.h:9:19: note: in expansion of macro 'KERN_SOH' #define KERN_CRIT KERN_SOH "2" /* critical conditions */ ^ >> include/linux/printk.h:250:9: note: in expansion of macro 'KERN_CRIT' printk(KERN_CRIT pr_fmt(fmt), ##__VA_ARGS__) ^ >> drivers/scsi/emcctd/emcctd.h:52:3: note: in expansion of macro 'pr_crit' pr_crit("%s:%d:"__m_fmt, __func__, __LINE__, ##__VA_ARGS__) ^ drivers/scsi/emcctd/emcctd.c:2616:3: note: in expansion of macro 'ctd_dprintk_crit' ctd_dprintk_crit( ^ >> include/linux/kern_levels.h:4:18: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 4 has type 'resource_size_t {aka unsigned int}' [-Wformat=] #define KERN_SOH "\001" /* ASCII Start Of Header */ ^ include/linux/kern_levels.h:9:19: note: in expansion of macro 'KERN_SOH' #define KERN_CRIT KERN_SOH "2" /* critical conditions */ ^ >> include/linux/printk.h:250:9: note: in expansion of macro 'KERN_CRIT' printk(KERN_CRIT pr_fmt(fmt), ##__VA_ARGS__) ^ >> drivers/scsi/emcctd/emcctd.h:52:3: note: in expansion of macro 'pr_crit' pr_crit("%s:%d:"__m_fmt, __func__, __LINE__, ##__VA_ARGS__) ^ drivers/scsi/emcctd/emcctd.c:2638:3: note: in expansion of macro 'ctd_dprintk_crit' ctd_dprintk_crit( ^ vim +239 drivers/scsi/emcctd/emcctd.c 223 .use_clustering = DISABLE_CLUSTERING, 224 .module = THIS_MODULE, 225 }; 226 227 228 #if !defined(__VMKLNX__) 229 static struct proc_dir_entry *ctd_proc_directory; 230 231 static int 232 ctd_proc_show(struct seq_file *m, void *v) 233 { 234 int i; 235 struct ctd_pci_private *ctd_private = 236 (struct ctd_pci_private *)m->private; 237 238 seq_printf(m, > 239 "number interrupts: %ld\n" 240 "requests queued: %ld\n" 241 "responses received: %ld\n" 242 "pending IO count: %ld\n" 243 "Abort Sent: %ld\n" 244 "Abort received: %ld\n" 245 "What received: %ld\n" 246 "What sent: %ld\n" 247 "free IO entries : %ld\n" --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation