aboutsummaryrefslogtreecommitdiff
path: root/fs/ksmbd/ndr.h
diff options
context:
space:
mode:
authorIan Abbott2022-06-07 18:18:19 +0100
committerGreg Kroah-Hartman2022-06-10 15:21:23 +0200
commit242439f7e279d86b3f73b5de724bc67b2f8aeb07 (patch)
treee305168a0ce30eb5938c50c975009e935cadcaaa /fs/ksmbd/ndr.h
parentf2906aa863381afb0015a9eb7fefad885d4e5a56 (diff)
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 <johan@kernel.org> Cc: stable@vger.kernel.org # 4.9+ Reviewed-by: Johan Hovold <johan@kernel.org> Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Link: https://lore.kernel.org/r/20220607171819.4121-1-abbotti@mev.co.uk Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/ksmbd/ndr.h')
0 files changed, 0 insertions, 0 deletions