public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Karan Tilak Kumar <kartilak@cisco.com>, sebaddel@cisco.com
Cc: oe-kbuild-all@lists.linux.dev, arulponn@cisco.com,
	djhawar@cisco.com, gcboffa@cisco.com, mkai2@cisco.com,
	satishkh@cisco.com, aeasi@cisco.com, jejb@linux.ibm.com,
	martin.petersen@oracle.com, linux-scsi@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Karan Tilak Kumar <kartilak@cisco.com>,
	kernel test robot <lkp@intel.com>
Subject: Re: [PATCH v6 03/15] scsi: fnic: Add support for fabric based solicited requests and responses
Date: Mon, 9 Dec 2024 12:35:08 +0800	[thread overview]
Message-ID: <202412080837.2JU0r2Ny-lkp@intel.com> (raw)
In-Reply-To: <20241206210852.3251-4-kartilak@cisco.com>

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 next-20241206]
[cannot apply to mkp-scsi/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#_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-4-kartilak%40cisco.com
patch subject: [PATCH v6 03/15] scsi: fnic: Add support for fabric based solicited requests and responses
config: i386-allmodconfig (https://download.01.org/0day-ci/archive/20241208/202412080837.2JU0r2Ny-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/202412080837.2JU0r2Ny-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412080837.2JU0r2Ny-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from drivers/scsi/fnic/fnic_fcs.c:22:
   drivers/scsi/fnic/fnic_fcs.c: In function 'fdls_send_fcoe_frame':
>> drivers/scsi/fnic/fnic.h:164:33: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'unsigned int' [-Wformat=]
     164 |                                 "fnic<%d>: %s: %d: " fmt, fnic_num,\
         |                                 ^~~~~~~~~~~~~~~~~~~~
   drivers/scsi/fnic/fnic.h:151:25: note: in definition of macro 'FNIC_CHECK_LOGGING'
     151 |                         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:163:26: note: in expansion of macro 'shost_printk'
     163 |                          shost_printk(kern_level, host,                 \
         |                          ^~~~~~~~~~~~
   drivers/scsi/fnic/fnic_fcs.c:1231:25: note: in expansion of macro 'FNIC_FCS_DBG'
    1231 |                         FNIC_FCS_DBG(KERN_INFO, fnic->lport->host, fnic->fnic_num,
         |                         ^~~~~~~~~~~~


vim +164 drivers/scsi/fnic/fnic.h

5df6d737dd4b0f Abhijeet Joglekar 2009-04-17  154  
3df9dd0d51c2e4 Karan Tilak Kumar 2023-12-11  155  #define FNIC_MAIN_DBG(kern_level, host, fnic_num, fmt, args...)		\
5df6d737dd4b0f Abhijeet Joglekar 2009-04-17  156  	FNIC_CHECK_LOGGING(FNIC_MAIN_LOGGING,			\
3df9dd0d51c2e4 Karan Tilak Kumar 2023-12-11  157  			 shost_printk(kern_level, host,			\
3df9dd0d51c2e4 Karan Tilak Kumar 2023-12-11  158  				"fnic<%d>: %s: %d: " fmt, fnic_num,\
3df9dd0d51c2e4 Karan Tilak Kumar 2023-12-11  159  				__func__, __LINE__, ##args);)
5df6d737dd4b0f Abhijeet Joglekar 2009-04-17  160  
3df9dd0d51c2e4 Karan Tilak Kumar 2023-12-11  161  #define FNIC_FCS_DBG(kern_level, host, fnic_num, fmt, args...)		\
5df6d737dd4b0f Abhijeet Joglekar 2009-04-17  162  	FNIC_CHECK_LOGGING(FNIC_FCS_LOGGING,			\
3df9dd0d51c2e4 Karan Tilak Kumar 2023-12-11  163  			 shost_printk(kern_level, host,			\
3df9dd0d51c2e4 Karan Tilak Kumar 2023-12-11 @164  				"fnic<%d>: %s: %d: " fmt, fnic_num,\
3df9dd0d51c2e4 Karan Tilak Kumar 2023-12-11  165  				__func__, __LINE__, ##args);)
5df6d737dd4b0f Abhijeet Joglekar 2009-04-17  166  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

  reply	other threads:[~2024-12-09  4:35 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-06 21:08 [PATCH v6 00/15] Introduce support for Fabric Discovery and Karan Tilak Kumar
2024-12-06 21:08 ` [PATCH v6 01/15] scsi: fnic: Replace shost_printk with dev_info/dev_err Karan Tilak Kumar
2024-12-06 21:08 ` [PATCH v6 02/15] scsi: fnic: Add headers and definitions for FDLS Karan Tilak Kumar
2024-12-06 21:08 ` [PATCH v6 03/15] scsi: fnic: Add support for fabric based solicited requests and responses Karan Tilak Kumar
2024-12-09  4:35   ` kernel test robot [this message]
2024-12-06 21:08 ` [PATCH v6 04/15] scsi: fnic: Add support for target " Karan Tilak Kumar
2024-12-09  4:43   ` kernel test robot
2024-12-06 21:08 ` [PATCH v6 05/15] scsi: fnic: Add support for unsolicited " Karan Tilak Kumar
2024-12-06 21:08 ` [PATCH v6 06/15] scsi: fnic: Add Cisco hardware model names Karan Tilak Kumar
2024-12-06 21:08 ` [PATCH v6 07/15] scsi: fnic: Add and integrate support for FDMI Karan Tilak Kumar
2024-12-06 21:08 ` [PATCH v6 08/15] scsi: fnic: Add and integrate support for FIP Karan Tilak Kumar
2024-12-09  4:47   ` kernel test robot
2024-12-06 21:08 ` [PATCH v6 09/15] scsi: fnic: Add functionality in fnic to support FDLS Karan Tilak Kumar
2024-12-06 21:08 ` [PATCH v6 10/15] scsi: fnic: Modify IO path to use FDLS Karan Tilak Kumar
2024-12-06 21:08 ` [PATCH v6 11/15] scsi: fnic: Modify fnic interfaces " Karan Tilak Kumar
2024-12-06 21:08 ` [PATCH v6 12/15] scsi: fnic: Add stats and related functionality Karan Tilak Kumar
2024-12-06 21:08 ` [PATCH v6 13/15] scsi: fnic: Code cleanup Karan Tilak Kumar
2024-12-06 21:08 ` [PATCH v6 14/15] scsi: fnic: Add support to handle port channel RSCN Karan Tilak Kumar
2024-12-06 21:08 ` [PATCH v6 15/15] scsi: fnic: Increment driver version Karan Tilak Kumar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202412080837.2JU0r2Ny-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=aeasi@cisco.com \
    --cc=arulponn@cisco.com \
    --cc=djhawar@cisco.com \
    --cc=gcboffa@cisco.com \
    --cc=jejb@linux.ibm.com \
    --cc=kartilak@cisco.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    --cc=mkai2@cisco.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=satishkh@cisco.com \
    --cc=sebaddel@cisco.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox