Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

misc: genwqe: Fix incorrect cmd field being reported in error

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: eaf4722d4645 ("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>

authored by

Colin Ian King and committed by
Greg Kroah-Hartman
6b260538 53d2bf58

+1 -1
+1 -1
drivers/misc/genwqe/card_ddcb.c
··· 923 923 } 924 924 if (cmd->asv_length > DDCB_ASV_LENGTH) { 925 925 dev_err(&pci_dev->dev, "[%s] err: wrong asv_length of %d\n", 926 - __func__, cmd->asiv_length); 926 + __func__, cmd->asv_length); 927 927 return -EINVAL; 928 928 } 929 929 rc = __genwqe_enqueue_ddcb(cd, req, f_flags);