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>
This commit is contained in:
Satish Kharat 2019-01-14 17:09:22 -08:00 committed by Martin K. Petersen
parent 1c55262649
commit 5271d1cad8
1 changed files with 1 additions and 1 deletions

View File

@ -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;