Skip to content

Commit

Permalink
nvmet: Fix error print message at nvmet_install_queue function
Browse files Browse the repository at this point in the history
Place the arguments in the correct order.

Fixes: 1672ddb ("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>
  • Loading branch information
Israel Rukshin authored and Keith Busch committed Feb 4, 2020
1 parent cfa2735 commit 0b87a2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/nvme/target/fabrics-cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 0b87a2b

Please sign in to comment.