]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: pvrusb2: Fix incorrect variable used in trace message
authorColin Ian King <colin.i.king@gmail.com>
Wed, 3 Sep 2025 08:44:16 +0000 (09:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Jan 2026 12:09:50 +0000 (13:09 +0100)
commit424dd7ef4109cb64219c4b01a4a0d50ccecd14ae
tree79e7a86d4b2ec80f888291a1aab618509c4fb44e
parentc2305b4c5fc15e20ac06c35738e0578eb4323750
media: pvrusb2: Fix incorrect variable used in trace message

commit be440980eace19c035a0745fd6b6e42707bc4f49 upstream.

The pvr2_trace message is reporting an error about control read
transfers, however it is using the incorrect variable write_len
instead of read_lean. Fix this by using the correct variable
read_len.

Fixes: d855497edbfb ("V4L/DVB (4228a): pvrusb2 to kernel 2.6.18")
Cc: stable@vger.kernel.org
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/usb/pvrusb2/pvrusb2-hdw.c