]> asedeno.scripts.mit.edu Git - linux.git/commit
scsi: qla2xxx: Complain if a mailbox command times out
authorBart Van Assche <bvanassche@acm.org>
Fri, 9 Aug 2019 03:01:44 +0000 (20:01 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Aug 2019 01:34:06 +0000 (21:34 -0400)
commit58e060e11b0b18298208e5d0d1bd9bd98b4238a7
tree76c83c4fdf68859130640f6e39d229675cbbcafc
parentcc74049f35e84b6727c70589750c84e6166963ae
scsi: qla2xxx: Complain if a mailbox command times out

This patch fixes the following Coverity complaint:

Unchecked return value (CHECKED_RETURN)
check_return: Calling wait_for_completion_timeout without checking return
value (as is done elsewhere 14 out of 17 times).

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_mr.c