summaryrefslogtreecommitdiff
path: root/arch/cris/kernel
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-05-19 10:04:31 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2017-05-31 22:44:06 -0400
commit9094367a9161858004eacb7373aa2bf48c51c16d (patch)
tree006f61a5b201e6e69995b97e7d1ea34ff09dd4b4 /arch/cris/kernel
parentd5ff0eed3a6621f6fd6c14f042c30a6eacfa77f1 (diff)
scsi: lpfc: nvmet_fc: fix format string
The lpfc_nvmeio_data() tracing helper always takes a format string and three additional arguments. The latest caller has a format string with only two integer arguments, causing this harmless warning: drivers/scsi/lpfc/lpfc_nvmet.c: In function 'lpfc_nvmet_xmt_fcp_release': drivers/scsi/lpfc/lpfc_nvmet.c:802:25: error: too many arguments for format [-Werror=format-extra-args] lpfc_nvmeio_data(phba, "NVMET FCP FREE: xri x%x ste %d\n", ctxp->oxid, We could add a dummy argument here, but it seems reasonable to print the 'abort' flag as the third argument. Fixes: 19b58d9473e8 ("nvmet_fc: add req_release to lldd api") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: James Smart <james.smart@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'arch/cris/kernel')
0 files changed, 0 insertions, 0 deletions