]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qla2xxx: Remove WARN_ON_ONCE in qla2x00_status_cont_entry()
authorDaniel Wagner <dwagner@suse.de>
Fri, 27 Sep 2019 07:30:31 +0000 (09:30 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 1 Oct 2019 03:53:02 +0000 (23:53 -0400)
commit434caa68b2cfb331db7b9d00349232c624ed38c2
tree93bb1d3b5a363eb66a1fe65c9cb3622bc1fe5c2e
parentd242d94ae3654fc2d9dc6a372c6254f149622778
scsi: qla2xxx: Remove WARN_ON_ONCE in qla2x00_status_cont_entry()

Commit aa4ef98847a3 ("scsi: qla2xxx: Complain if sp->done() is not called
from the completion path") introduced the WARN_ON_ONCE in
qla2x00_status_cont_entry(). The assumption was that there is only one
status continuations element. According to the firmware documentation it is
possible that multiple status continuations are emitted by the firmware.

Fixes: aa4ef98847a3 ("scsi: qla2xxx: Complain if sp->done() is not called from the completion path")
Link: https://lore.kernel.org/r/20190927073031.62296-1-dwagner@suse.de
Cc: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Daniel Wagner <dwagner@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_isr.c