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:
cfa2735
)
nvmet: Fix error print message at nvmet_install_queue function
author
Israel Rukshin
<israelr@mellanox.com>
Tue, 4 Feb 2020 12:38:09 +0000
(14:38 +0200)
committer
Keith Busch
<kbusch@kernel.org>
Tue, 4 Feb 2020 16:13:06 +0000
(
01:13
+0900)
Place the arguments in the correct order.
Fixes: 1672ddb8d691 ("nvmet: Add install_queue callout")
Signed-off-by: Israel Rukshin <israelr@mellanox.com>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/target/fabrics-cmd.c
patch
|
blob
|
history
diff --git
a/drivers/nvme/target/fabrics-cmd.c
b/drivers/nvme/target/fabrics-cmd.c
index f7297473d9eb527e2e81353bb62eef7b40932e44..45ebc2e20458b5994603d6d12f407592a23e492b 100644
(file)
--- a/
drivers/nvme/target/fabrics-cmd.c
+++ b/
drivers/nvme/target/fabrics-cmd.c
@@
-136,7
+136,7
@@
static u16 nvmet_install_queue(struct nvmet_ctrl *ctrl, struct nvmet_req *req)
if (ret) {
pr_err("failed to install queue %d cntlid %d ret %x\n",
- qid,
ret, ctrl->cntlid
);
+ qid,
ctrl->cntlid, ret
);
return ret;
}
}