public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: James Smart <jsmart2021@gmail.com>, linux-scsi@vger.kernel.org
Cc: kbuild-all@lists.01.org, James Smart <jsmart2021@gmail.com>,
	Justin Tee <justin.tee@broadcom.com>
Subject: Re: [PATCH 05/16] lpfc: Add EDC ELS support
Date: Fri, 13 Aug 2021 16:48:21 +0800	[thread overview]
Message-ID: <202108131642.mQq4aivT-lkp@intel.com> (raw)
In-Reply-To: <20210813020812.99014-6-jsmart2021@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 6011 bytes --]

Hi James,

I love your patch! Perhaps something to improve:

[auto build test WARNING on scsi/for-next]
[also build test WARNING on mkp-scsi/for-next linus/master v5.14-rc5 next-20210812]
[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]

url:    https://github.com/0day-ci/linux/commits/James-Smart/lpfc-Update-lpfc-to-revision-14-0-0-1/20210813-101108
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next
config: mips-allyesconfig (attached as .config)
compiler: mips-linux-gcc (GCC) 10.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/0day-ci/linux/commit/500c94414bdcb236c244cbbde9219852777a38bf
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review James-Smart/lpfc-Update-lpfc-to-revision-14-0-0-1/20210813-101108
        git checkout 500c94414bdcb236c244cbbde9219852777a38bf
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=mips 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   In file included from drivers/scsi/lpfc/lpfc_els.c:45:
   drivers/scsi/lpfc/lpfc_els.c: In function 'lpfc_cmpl_els_edc':
>> drivers/scsi/lpfc/lpfc_logmsg.h:94:45: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'unsigned int' [-Wformat=]
      94 |   dev_printk(level, &((phba)->pcidev)->dev, "%d:" \
         |                                             ^~~~~
   drivers/scsi/lpfc/lpfc_els.c:3947:5: note: in expansion of macro 'lpfc_printf_log'
    3947 |     lpfc_printf_log(
         |     ^~~~~~~~~~~~~~~
   drivers/scsi/lpfc/lpfc_logmsg.h:94:45: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'unsigned int' [-Wformat=]
      94 |   dev_printk(level, &((phba)->pcidev)->dev, "%d:" \
         |                                             ^~~~~
   drivers/scsi/lpfc/lpfc_els.c:3947:5: note: in expansion of macro 'lpfc_printf_log'
    3947 |     lpfc_printf_log(
         |     ^~~~~~~~~~~~~~~
>> drivers/scsi/lpfc/lpfc_logmsg.h:94:45: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'unsigned int' [-Wformat=]
      94 |   dev_printk(level, &((phba)->pcidev)->dev, "%d:" \
         |                                             ^~~~~
   drivers/scsi/lpfc/lpfc_els.c:3973:5: note: in expansion of macro 'lpfc_printf_log'
    3973 |     lpfc_printf_log(
         |     ^~~~~~~~~~~~~~~
   drivers/scsi/lpfc/lpfc_logmsg.h:94:45: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'unsigned int' [-Wformat=]
      94 |   dev_printk(level, &((phba)->pcidev)->dev, "%d:" \
         |                                             ^~~~~
   drivers/scsi/lpfc/lpfc_els.c:3973:5: note: in expansion of macro 'lpfc_printf_log'
    3973 |     lpfc_printf_log(
         |     ^~~~~~~~~~~~~~~
   drivers/scsi/lpfc/lpfc_els.c: In function 'lpfc_els_rcv_edc':
>> drivers/scsi/lpfc/lpfc_logmsg.h:94:45: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'unsigned int' [-Wformat=]
      94 |   dev_printk(level, &((phba)->pcidev)->dev, "%d:" \
         |                                             ^~~~~
   drivers/scsi/lpfc/lpfc_els.c:8806:5: note: in expansion of macro 'lpfc_printf_log'
    8806 |     lpfc_printf_log(
         |     ^~~~~~~~~~~~~~~
   drivers/scsi/lpfc/lpfc_logmsg.h:94:45: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'unsigned int' [-Wformat=]
      94 |   dev_printk(level, &((phba)->pcidev)->dev, "%d:" \
         |                                             ^~~~~
   drivers/scsi/lpfc/lpfc_els.c:8806:5: note: in expansion of macro 'lpfc_printf_log'
    8806 |     lpfc_printf_log(
         |     ^~~~~~~~~~~~~~~
>> drivers/scsi/lpfc/lpfc_logmsg.h:94:45: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'unsigned int' [-Wformat=]
      94 |   dev_printk(level, &((phba)->pcidev)->dev, "%d:" \
         |                                             ^~~~~
   drivers/scsi/lpfc/lpfc_els.c:8821:5: note: in expansion of macro 'lpfc_printf_log'
    8821 |     lpfc_printf_log(
         |     ^~~~~~~~~~~~~~~
   drivers/scsi/lpfc/lpfc_logmsg.h:94:45: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'unsigned int' [-Wformat=]
      94 |   dev_printk(level, &((phba)->pcidev)->dev, "%d:" \
         |                                             ^~~~~
   drivers/scsi/lpfc/lpfc_els.c:8821:5: note: in expansion of macro 'lpfc_printf_log'
    8821 |     lpfc_printf_log(
         |     ^~~~~~~~~~~~~~~


vim +94 drivers/scsi/lpfc/lpfc_logmsg.h

e8b62011d88d6f James Smart     2007-08-02  85  
dea3101e0a5c89 James Bottomley 2005-04-17  86  #define lpfc_printf_log(phba, level, mask, fmt, arg...) \
7f5f3d0d02aa2f James Smart     2008-02-08  87  do { \
f4b4c68f74dcd5 James Smart     2009-05-22  88  	{ uint32_t log_verbose = (phba)->pport ? \
f4b4c68f74dcd5 James Smart     2009-05-22  89  				 (phba)->pport->cfg_log_verbose : \
f4b4c68f74dcd5 James Smart     2009-05-22  90  				 (phba)->cfg_log_verbose; \
372c187b8a705c Dick Kennedy    2020-06-30  91  	if (((mask) & log_verbose) || (level[1] <= '3')) { \
372c187b8a705c Dick Kennedy    2020-06-30  92  		if ((mask) & LOG_TRACE_EVENT) \
372c187b8a705c Dick Kennedy    2020-06-30  93  			lpfc_dmp_dbg(phba); \
e8b62011d88d6f James Smart     2007-08-02 @94  		dev_printk(level, &((phba)->pcidev)->dev, "%d:" \

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 70972 bytes --]

  reply	other threads:[~2021-08-13  8:48 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-13  2:07 [PATCH 00/16] lpfc: Update lpfc to revision 14.0.0.1 James Smart
2021-08-13  2:07 ` [PATCH 01/16] fc: Add EDC ELS definition James Smart
2021-08-13  2:07 ` [PATCH 02/16] lpfc: Add SET_HOST_DATA mbox cmd to pass date/time info to firmware James Smart
2021-08-13  2:07 ` [PATCH 03/16] lpfc: Add MIB feature enablement support James Smart
2021-08-13  2:08 ` [PATCH 04/16] lpfc: Expand FPIN and RDF receive logging James Smart
2021-08-13  2:08 ` [PATCH 05/16] lpfc: Add EDC ELS support James Smart
2021-08-13  8:48   ` kernel test robot [this message]
2021-08-13  2:08 ` [PATCH 06/16] lpfc: Add cm statistics buffer support James Smart
2021-08-13  2:08 ` [PATCH 07/16] lpfc: Add support for cm enablement buffer James Smart
2021-08-13  2:08 ` [PATCH 08/16] lpfc: add cmfsync WQE support James Smart
2021-08-13  2:08 ` [PATCH 09/16] lpfc: Add support for the CM framework James Smart
2021-08-13  2:08 ` [PATCH 10/16] lpfc: Add rx monitoring statistics James Smart
2021-08-13  2:08 ` [PATCH 11/16] lpfc: Add support for maintaining the cm statistics buffer James Smart
2021-08-13  2:08 ` [PATCH 12/16] lpfc: Add debugfs support for cm framework buffers James Smart
2021-08-13  2:08 ` [PATCH 13/16] lpfc: Add cmf_info sysfs entry James Smart
2021-08-13  2:08 ` [PATCH 14/16] lpfc: Add bsg support for retrieving adapter cmf data James Smart
2021-08-13  2:08 ` [PATCH 15/16] lpfc: Update lpfc version to 14.0.0.1 James Smart
2021-08-13  2:08 ` [PATCH 16/16] lpfc: Copyright updates for 14.0.0.1 patches James Smart

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=202108131642.mQq4aivT-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=jsmart2021@gmail.com \
    --cc=justin.tee@broadcom.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-scsi@vger.kernel.org \
    /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