Skip to content

Commit 0b87a2b

Browse files
Israel Rukshinkeithbusch
authored andcommitted
nvmet: Fix error print message at nvmet_install_queue function
Place the arguments in the correct order. Fixes: 1672ddb ("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]>
1 parent cfa2735 commit 0b87a2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/nvme/target/fabrics-cmd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ static u16 nvmet_install_queue(struct nvmet_ctrl *ctrl, struct nvmet_req *req)
136136

137137
if (ret) {
138138
pr_err("failed to install queue %d cntlid %d ret %x\n",
139-
qid, ret, ctrl->cntlid);
139+
qid, ctrl->cntlid, ret);
140140
return ret;
141141
}
142142
}

0 commit comments

Comments
 (0)