Skip to content

Commit 487a3ea

Browse files
calebsanderkeithbusch
authored andcommitted
nvme/ioctl: add missing space in err message
nvme_validate_passthru_nsid() logs an err message whose format string is split over 2 lines. There is a missing space between the two pieces, resulting in log lines like "... does not match nsid (1)of namespace". Add the missing space between ")" and "of". Also combine the format string pieces onto a single line to make the err message easier to grep. Fixes: e7d4b54 ("nvme: factor out a nvme_validate_passthru_nsid helper") Signed-off-by: Caleb Sander Mateos <csander@purestorage.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Keith Busch <kbusch@kernel.org>
1 parent 578539e commit 487a3ea

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/nvme/host/ioctl.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,7 @@ static bool nvme_validate_passthru_nsid(struct nvme_ctrl *ctrl,
283283
{
284284
if (ns && nsid != ns->head->ns_id) {
285285
dev_err(ctrl->device,
286-
"%s: nsid (%u) in cmd does not match nsid (%u)"
287-
"of namespace\n",
286+
"%s: nsid (%u) in cmd does not match nsid (%u) of namespace\n",
288287
current->comm, nsid, ns->head->ns_id);
289288
return false;
290289
}

0 commit comments

Comments
 (0)