aboutsummaryrefslogtreecommitdiffstats
path: root/lib/overflow_kunit.c
diff options
context:
space:
mode:
authorIan Abbott <[email protected]>2022-06-07 17:18:19 +0000
committerGreg Kroah-Hartman <[email protected]>2022-06-10 13:21:23 +0000
commit242439f7e279d86b3f73b5de724bc67b2f8aeb07 (patch)
treee305168a0ce30eb5938c50c975009e935cadcaaa /lib/overflow_kunit.c
parentLinux 5.19-rc1 (diff)
downloadkernel-242439f7e279d86b3f73b5de724bc67b2f8aeb07.tar.gz
kernel-242439f7e279d86b3f73b5de724bc67b2f8aeb07.zip
comedi: vmk80xx: fix expression for tx buffer size
The expression for setting the size of the allocated bulk TX buffer (`devpriv->usb_tx_buf`) is calling `usb_endpoint_maxp(devpriv->ep_rx)`, which is using the wrong endpoint (should be `devpriv->ep_tx`). Fix it. Fixes: a23461c47482 ("comedi: vmk80xx: fix transfer-buffer overflow") Cc: Johan Hovold <[email protected]> Cc: [email protected] # 4.9+ Reviewed-by: Johan Hovold <[email protected]> Signed-off-by: Ian Abbott <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/overflow_kunit.c')
0 files changed, 0 insertions, 0 deletions