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:
d120c70
)
target_core_user: add cmd id to broken ring message
author
Mike Christie
<mchristi@redhat.com>
Tue, 19 Dec 2017 10:03:56 +0000
(
04:03
-0600)
committer
Nicholas Bellinger
<nab@linux-iscsi.org>
Fri, 12 Jan 2018 23:07:30 +0000
(15:07 -0800)
Log cmd id that was not found in the tcmu_handle_completions
lookup failure path.
Signed-off-by: Mike Christie <mchristi@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_user.c
patch
|
blob
|
history
diff --git
a/drivers/target/target_core_user.c
b/drivers/target/target_core_user.c
index a746fedbb4869fe20291e408ab5d67e0ee62126c..1238480cd4c4f29af1427eabc96b5f6bf38c81b5 100644
(file)
--- a/
drivers/target/target_core_user.c
+++ b/
drivers/target/target_core_user.c
@@
-1098,7
+1098,8
@@
static unsigned int tcmu_handle_completions(struct tcmu_dev *udev)
cmd = idr_remove(&udev->commands, entry->hdr.cmd_id);
if (!cmd) {
- pr_err("cmd_id not found, ring is broken\n");
+ pr_err("cmd_id %u not found, ring is broken\n",
+ entry->hdr.cmd_id);
set_bit(TCMU_DEV_BIT_BROKEN, &udev->flags);
break;
}