scsi: qla2xxx: Report invalid mailbox status codes
authorBart Van Assche <bvanassche@acm.org>
Fri, 9 Aug 2019 03:02:14 +0000 (20:02 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Aug 2019 01:34:09 +0000 (21:34 -0400)
commit724361921f65a40ae5b80641dc1e92c0ff314d89
treefe3b84c6525370760dab2895a2549ac58104cec9
parent1a20719e074ada3e6d06ee065afd527779a6793b
scsi: qla2xxx: Report invalid mailbox status codes

It is easy to mix up the QLA_* and the MBS_* status codes. Complain loudly
if that happens.

Cc: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Tested-by: Himanshu Madhani <hmadhani@marvell.com>
Reviewed-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_init.c