projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c55262
)
scsi: fnic: vnic_rq_clean change BUG_ON to WARN_ON
author
Satish Kharat
<satishkh@cisco.com>
Tue, 15 Jan 2019 01:09:22 +0000
(17:09 -0800)
committer
Martin K. Petersen
<martin.petersen@oracle.com>
Wed, 23 Jan 2019 02:18:34 +0000
(21:18 -0500)
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>
drivers/scsi/fnic/vnic_rq.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/fnic/vnic_rq.c
b/drivers/scsi/fnic/vnic_rq.c
index fd2068f5ae1675478d6ee2edd325633581a79f7c..74d2f2cd6370f68e4b1c94ec58ca12eb81038b62 100644
(file)
--- 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;