mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
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: eaf4722d46 ("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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
53d2bf583c
commit
6b26053819
@@ -923,7 +923,7 @@ int __genwqe_execute_raw_ddcb(struct genwqe_dev *cd,
|
||||
}
|
||||
if (cmd->asv_length > DDCB_ASV_LENGTH) {
|
||||
dev_err(&pci_dev->dev, "[%s] err: wrong asv_length of %d\n",
|
||||
__func__, cmd->asiv_length);
|
||||
__func__, cmd->asv_length);
|
||||
return -EINVAL;
|
||||
}
|
||||
rc = __genwqe_enqueue_ddcb(cd, req, f_flags);
|
||||
|
||||
Reference in New Issue
Block a user