Skip to content

Commit 45fb7f0

Browse files
ColinIanKingUlrich Hecht
authored andcommitted
misc: genwqe: Fix incorrect cmd field being reported in error
[ Upstream commit 6b26053819dccc664120e07c56f107fb6f72f3fa ] 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> Signed-off-by: Ulrich Hecht <uli@kernel.org>
1 parent b972259 commit 45fb7f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/misc/genwqe/card_ddcb.c

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

0 commit comments

Comments
 (0)