scsi: qla2xxx: Complain if sp->done() is not called from the completion path
authorBart Van Assche <bvanassche@acm.org>
Fri, 9 Aug 2019 03:02:11 +0000 (20:02 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Aug 2019 01:34:09 +0000 (21:34 -0400)
commit88263208dd23327b56fbd7c2858c389c1153b366
tree1969cfe99da2acfdb85c0ea9c75ea4feecdd2217
parent0dcec41acb85da33841c2ab56dbf337ed00a3914
scsi: qla2xxx: Complain if sp->done() is not called from the completion path

Not calling sp->done() from the command completion path is a severe bug.
Hence 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_init.c
drivers/scsi/qla2xxx/qla_isr.c
drivers/scsi/qla2xxx/qla_mr.c