summaryrefslogtreecommitdiff
path: root/drivers/scsi/fnic
diff options
context:
space:
mode:
authorSatish Kharat <satishkh@cisco.com>2019-01-15 04:09:22 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2019-01-23 05:18:34 +0300
commit5271d1cad8187b7c33685201a3799fc3385007e9 (patch)
treefefb444180cc8798ae07b23565ad1ed95e70bd14 /drivers/scsi/fnic
parent1c55262649a823a1d1c9ea37e7403ea3edd2b9c3 (diff)
downloadlinux-5271d1cad8187b7c33685201a3799fc3385007e9.tar.xz
scsi: fnic: vnic_rq_clean change BUG_ON to WARN_ON
rq->ctrl not enabled when this is called is bad but not fatal and can continue. Signed-off-by: Satish Kharat <satishkh@cisco.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/fnic')
-rw-r--r--drivers/scsi/fnic/vnic_rq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/fnic/vnic_rq.c b/drivers/scsi/fnic/vnic_rq.c
index fd2068f5ae16..74d2f2cd6370 100644
--- a/drivers/scsi/fnic/vnic_rq.c
+++ b/drivers/scsi/fnic/vnic_rq.c
@@ -171,7 +171,7 @@ void vnic_rq_clean(struct vnic_rq *rq,
struct vnic_rq_buf *buf;
u32 fetch_index;
- BUG_ON(ioread32(&rq->ctrl->enable));
+ WARN_ON(ioread32(&rq->ctrl->enable));
buf = rq->to_clean;