Commit 5271d1ca authored by Satish Kharat's avatar Satish Kharat Committed by Martin K. Petersen

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: default avatarSatish Kharat <satishkh@cisco.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 1c552626
...@@ -171,7 +171,7 @@ void vnic_rq_clean(struct vnic_rq *rq, ...@@ -171,7 +171,7 @@ void vnic_rq_clean(struct vnic_rq *rq,
struct vnic_rq_buf *buf; struct vnic_rq_buf *buf;
u32 fetch_index; u32 fetch_index;
BUG_ON(ioread32(&rq->ctrl->enable)); WARN_ON(ioread32(&rq->ctrl->enable));
buf = rq->to_clean; buf = rq->to_clean;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment