Skip to content

Commit 6a7d643

Browse files
ColinIanKinggregkh
authored andcommitted
misc: genwqe: Fix incorrect cmd field being reported in error
[ Upstream commit 6b26053 ] There is a dev_err message that is reporting the value of cmd->asiv_length when it should be reporting cmd->asv_length instead. Fix this. Fixes: eaf4722 ("GenWQE Character device and DDCB queue") Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Link: https://lore.kernel.org/r/20250902113712.2624743-1-colin.i.king@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent c5a2791 commit 6a7d643

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/misc/genwqe/card_ddcb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,7 @@ int __genwqe_execute_raw_ddcb(struct genwqe_dev *cd,
923923
}
924924
if (cmd->asv_length > DDCB_ASV_LENGTH) {
925925
dev_err(&pci_dev->dev, "[%s] err: wrong asv_length of %d\n",
926-
__func__, cmd->asiv_length);
926+
__func__, cmd->asv_length);
927927
return -EINVAL;
928928
}
929929
rc = __genwqe_enqueue_ddcb(cd, req, f_flags);

0 commit comments

Comments
 (0)