linux/drivers/scsi/lpfc
Arnd Bergmann efe583c6d3 scsi: lpfc: Use %zd format string for size_t
A recent bugfix introduced a harmless warning in the lpfc driver:

drivers/scsi/lpfc/lpfc_init.c: In function 'lpfc_write_firmware':
drivers/scsi/lpfc/lpfc_logmsg.h:56:45: error: format '%ld' expects argument of type 'long int', but argument 9 has type 'size_t {aka const unsigned int}' [-Werror=format=]

'size_t' is always the same width as 'long' in the kernel, but the
compiler doesn't know that. The %z modifier is what the standard expects
to be used here, and this shuts up the warning.

Fixes: 679053c651fb ("scsi: lpfc: Fix fw download on SLI-4 FC adapters")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Acked-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2016-11-08 17:29:53 -05:00
..
lpfc_attr.c scsi: lpfc: Synchronize link speed with boot driver 2016-11-08 17:29:50 -05:00
lpfc_attr.h lpfc: Re-organize source for easier driver attribute management 2016-07-15 15:25:06 -04:00
lpfc_bsg.c scsi: lpfc: Synchronize link speed with boot driver 2016-11-08 17:29:50 -05:00
lpfc_bsg.h scsi: lpfc: Synchronize link speed with boot driver 2016-11-08 17:29:50 -05:00
lpfc_compat.h
lpfc_crtn.h scsi: lpfc: Make lpfc_prot_xxx params per hba parameters 2016-11-08 17:29:49 -05:00
lpfc_ct.c scsi: lpfc: Mark symbols static where possible 2016-09-26 20:35:51 -04:00
lpfc_debugfs.c lpfc: fix missing zero termination in debugfs 2016-02-23 21:27:02 -05:00
lpfc_debugfs.h [SCSI] lpfc 8.3.33: Tie parallel I/O queues into separate MSIX vectors 2012-09-14 14:41:19 +01:00
lpfc_disc.h lpfc: Fix rport leak. 2015-06-05 22:40:19 -07:00
lpfc_els.c scsi: lpfc: Fix lost target in pt-to-pt connect 2016-11-08 17:29:50 -05:00
lpfc_hbadisc.c lpfc: Update modified file copyrights 2016-04-11 16:57:09 -04:00
lpfc_hw4.h scsi: lpfc: Fix fw download on SLI-4 FC adapters 2016-11-08 17:29:51 -05:00
lpfc_hw.h lpfc: Correct RDP response Revision location 2016-07-15 15:25:06 -04:00
lpfc_ids.h lpfc: Re-organize source for easier device-id management 2016-07-15 15:25:06 -04:00
lpfc_init.c scsi: lpfc: Use %zd format string for size_t 2016-11-08 17:29:53 -05:00
lpfc_logmsg.h [SCSI] lpfc 8.3.39: Fixed BlockGuard error reporting 2013-05-02 12:38:02 -07:00
lpfc_mbox.c scsi: lpfc: Mark symbols static where possible 2016-09-26 20:35:51 -04:00
lpfc_mem.c Revert "lpfc: Delete unnecessary checks before the function call mempool_destroy" 2016-05-11 13:02:43 -07:00
lpfc_nl.h
lpfc_nportdisc.c lpfc: Update modified file copyrights 2016-04-11 16:57:09 -04:00
lpfc_scsi.c scsi: lpfc: Correct panics with eh_timeout and eh_deadline 2016-11-08 17:29:50 -05:00
lpfc_scsi.h lpfc: Copyright updates 2016-07-15 15:25:06 -04:00
lpfc_sli4.h lpfc: Copyright updates 2016-07-15 15:25:06 -04:00
lpfc_sli.c scsi: lpfc: Correct panics with eh_timeout and eh_deadline 2016-11-08 17:29:50 -05:00
lpfc_sli.h lpfc: Copyright updates 2016-07-15 15:25:06 -04:00
lpfc_version.h scsi: lpfc: lpfc version changed to 11.2.0.2 2016-11-08 17:29:51 -05:00
lpfc_vport.c lpfc: Update modified file copyrights 2016-04-11 16:57:09 -04:00
lpfc_vport.h [SCSI] lpfc 8.3.39: Fixed VPI allocation issues after firmware dump is performed 2013-05-02 12:37:45 -07:00
lpfc.h scsi: lpfc: Synchronize link speed with boot driver 2016-11-08 17:29:50 -05:00
Makefile