scsi: core: scsi_io_completion convert BUGs to WARNs
authorDouglas Gilbert <dgilbert@interlog.com>
Sat, 23 Jun 2018 10:22:20 +0000 (12:22 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 26 Jun 2018 16:27:06 +0000 (12:27 -0400)
commit8e1695a07c7b28e2eb1c02cc01e2b8f5dd28bf87
treebea4b7856a3048aa566fcb190dfed5bc6b094458
parent0d437906f6dca6167b37c8e1f6f6ec395bde6230
scsi: core: scsi_io_completion convert BUGs to WARNs

The scsi_io_completion function contains three BUG() and BUG_ON() calls.
Replace them with WARN variants.

Signed-off-by: Douglas Gilbert <dgilbert@interlog.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_lib.c