aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorDave Penkler <[email protected]>2025-05-21 12:16:56 +0000
committerGreg Kroah-Hartman <[email protected]>2025-05-21 13:01:09 +0000
commit342e4955a1f1ce28c70a589999b76365082dbf10 (patch)
treef778c718a4f7f88418b3bad9a0632dbb1058f921 /net/unix/af_unix.c
parentusb: usbtmc: Fix read_stb function and get_stb ioctl (diff)
downloadkernel-342e4955a1f1ce28c70a589999b76365082dbf10.tar.gz
kernel-342e4955a1f1ce28c70a589999b76365082dbf10.zip
usb: usbtmc: Fix timeout value in get_stb
wait_event_interruptible_timeout requires a timeout argument in units of jiffies. It was being called in usbtmc_get_stb with the usb timeout value which is in units of milliseconds. Pass the timeout argument converted to jiffies. Fixes: 048c6d88a021 ("usb: usbtmc: Add ioctls to set/get usb timeout") Cc: [email protected] Signed-off-by: Dave Penkler <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions