[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202412081904.pXwdx15J-lkp@intel.com>
Date: Mon, 9 Dec 2024 12:47:30 +0800
From: kernel test robot <lkp@...el.com>
To: Karan Tilak Kumar <kartilak@...co.com>, sebaddel@...co.com
Cc: oe-kbuild-all@...ts.linux.dev, arulponn@...co.com, djhawar@...co.com,
gcboffa@...co.com, mkai2@...co.com, satishkh@...co.com,
aeasi@...co.com, jejb@...ux.ibm.com, martin.petersen@...cle.com,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
Karan Tilak Kumar <kartilak@...co.com>,
kernel test robot <lkp@...el.com>
Subject: Re: [PATCH v6 08/15] scsi: fnic: Add and integrate support for FIP
Hi Karan,
kernel test robot noticed the following build warnings:
[auto build test WARNING on jejb-scsi/for-next]
[also build test WARNING on linus/master v6.13-rc1]
[cannot apply to mkp-scsi/for-next next-20241206]
[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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Karan-Tilak-Kumar/scsi-fnic-Replace-shost_printk-with-dev_info-dev_err/20241207-054453
base: https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next
patch link: https://lore.kernel.org/r/20241206210852.3251-9-kartilak%40cisco.com
patch subject: [PATCH v6 08/15] scsi: fnic: Add and integrate support for FIP
config: i386-allmodconfig (https://download.01.org/0day-ci/archive/20241208/202412081904.pXwdx15J-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241208/202412081904.pXwdx15J-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412081904.pXwdx15J-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/scsi/fnic/fnic_fcs.c:21:
drivers/scsi/fnic/fnic_fcs.c: In function 'fnic_rq_cmpl_frame_recv':
>> drivers/scsi/fnic/fnic.h:235:33: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'unsigned int' [-Wformat=]
235 | "fnic<%d>: %s: %d: " fmt, fnic_num,\
| ^~~~~~~~~~~~~~~~~~~~
drivers/scsi/fnic/fnic.h:222:25: note: in definition of macro 'FNIC_CHECK_LOGGING'
222 | CMD; \
| ^~~
include/scsi/scsi_host.h:737:9: note: in expansion of macro 'dev_printk'
737 | dev_printk(prefix, &(shost)->shost_gendev, fmt, ##a)
| ^~~~~~~~~~
drivers/scsi/fnic/fnic.h:234:26: note: in expansion of macro 'shost_printk'
234 | shost_printk(kern_level, host, \
| ^~~~~~~~~~~~
drivers/scsi/fnic/fnic_fcs.c:491:17: note: in expansion of macro 'FNIC_FCS_DBG'
491 | FNIC_FCS_DBG(KERN_INFO, fnic->lport->host, fnic->fnic_num,
| ^~~~~~~~~~~~
drivers/scsi/fnic/fnic_fcs.c: In function 'fdls_send_fcoe_frame':
drivers/scsi/fnic/fnic.h:235:33: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'unsigned int' [-Wformat=]
235 | "fnic<%d>: %s: %d: " fmt, fnic_num,\
| ^~~~~~~~~~~~~~~~~~~~
drivers/scsi/fnic/fnic.h:222:25: note: in definition of macro 'FNIC_CHECK_LOGGING'
222 | CMD; \
| ^~~
include/scsi/scsi_host.h:737:9: note: in expansion of macro 'dev_printk'
737 | dev_printk(prefix, &(shost)->shost_gendev, fmt, ##a)
| ^~~~~~~~~~
drivers/scsi/fnic/fnic.h:234:26: note: in expansion of macro 'shost_printk'
234 | shost_printk(kern_level, host, \
| ^~~~~~~~~~~~
drivers/scsi/fnic/fnic_fcs.c:675:25: note: in expansion of macro 'FNIC_FCS_DBG'
675 | FNIC_FCS_DBG(KERN_INFO, fnic->lport->host, fnic->fnic_num,
| ^~~~~~~~~~~~
vim +235 drivers/scsi/fnic/fnic.h
5df6d737dd4b0f Abhijeet Joglekar 2009-04-17 225
3df9dd0d51c2e4 Karan Tilak Kumar 2023-12-11 226 #define FNIC_MAIN_DBG(kern_level, host, fnic_num, fmt, args...) \
5df6d737dd4b0f Abhijeet Joglekar 2009-04-17 227 FNIC_CHECK_LOGGING(FNIC_MAIN_LOGGING, \
3df9dd0d51c2e4 Karan Tilak Kumar 2023-12-11 228 shost_printk(kern_level, host, \
3df9dd0d51c2e4 Karan Tilak Kumar 2023-12-11 229 "fnic<%d>: %s: %d: " fmt, fnic_num,\
3df9dd0d51c2e4 Karan Tilak Kumar 2023-12-11 230 __func__, __LINE__, ##args);)
5df6d737dd4b0f Abhijeet Joglekar 2009-04-17 231
3df9dd0d51c2e4 Karan Tilak Kumar 2023-12-11 232 #define FNIC_FCS_DBG(kern_level, host, fnic_num, fmt, args...) \
5df6d737dd4b0f Abhijeet Joglekar 2009-04-17 233 FNIC_CHECK_LOGGING(FNIC_FCS_LOGGING, \
3df9dd0d51c2e4 Karan Tilak Kumar 2023-12-11 234 shost_printk(kern_level, host, \
3df9dd0d51c2e4 Karan Tilak Kumar 2023-12-11 @235 "fnic<%d>: %s: %d: " fmt, fnic_num,\
3df9dd0d51c2e4 Karan Tilak Kumar 2023-12-11 236 __func__, __LINE__, ##args);)
5df6d737dd4b0f Abhijeet Joglekar 2009-04-17 237
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists