]> 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>
Thu, 8 Jan 2026 09:14:17 +0000 (10:14 +0100)
commit759456cef254258d7565c415f628bbd3c18a03e7
treec1b7281c8b5d08fb5e37ec2283114cacd56335ef
parentfe3e129ab49806aaaa3f22067ebc75c2dfbe4658
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