OSDN Git Service
(root)
/
uclinux-h8
/
linux.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
fd2068f
..
74d2f2c
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;