aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsrael Rukshin <[email protected]>2020-02-04 14:38:09 +0200
committerKeith Busch <[email protected]>2020-02-05 01:13:06 +0900
commit0b87a2b795d66be7b54779848ef0f3901c5e46fc (patch)
tree6f64eec71fba42d588576104c02bcd064d5ef0d6
parentcfa27356f835dc7755192e7b941d4f4851acbcc7 (diff)
nvmet: Fix error print message at nvmet_install_queue function
Place the arguments in the correct order. Fixes: 1672ddb8d691 ("nvmet: Add install_queue callout") Signed-off-by: Israel Rukshin <[email protected]> Reviewed-by: Max Gurtovoy <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Keith Busch <[email protected]>
-rw-r--r--drivers/nvme/target/fabrics-cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/target/fabrics-cmd.c b/drivers/nvme/target/fabrics-cmd.c
index f7297473d9eb..45ebc2e20458 100644
--- 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;
}
}