scsi: qla2xxx: Log the status code if a firmware command fails
authorBart Van Assche <bvanassche@acm.org>
Wed, 17 Apr 2019 21:44:20 +0000 (14:44 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 29 Apr 2019 21:24:49 +0000 (17:24 -0400)
commit3f918ffae8e788d70e6488598d00e0bf717d7737
treec4eb9365620b709ab8496171c6a027367282fc34
parent2dbb02fd495c9b2e41ba37d6fec2aa713d328788
scsi: qla2xxx: Log the status code if a firmware command fails

It is important to know why a firmware command failed. Hence log 'rval'
together with the values of the mailbox registers if a firwmare command
fails.

Cc: Himanshu Madhani <hmadhani@marvell.com>
Cc: Giridhar Malavali <gmalavali@marvell.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Acked-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_mbx.c
drivers/scsi/qla2xxx/qla_mr.c