Logo
Explore Help
Sign In
dlan17/linux
Watch 1
Star 0
Fork 0
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
master
linux/drivers/usb/class
T
History
Thorsten Blum 43ae982cd0 usb: usblp: Use min_t() to improve usblp_read()
Use min_t() to improve usblp_read() and avoid calculating
'avail - usblp->readcount' twice. Use min_t(ssize_t,,) instead of min()
to avoid a signedness error.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://lore.kernel.org/r/20250829173713.56222-1-thorsten.blum@linux.dev
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-09-06 15:20:22 +02:00
..
cdc-acm.c
Merge tag 'usb-6.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
2025-07-29 10:17:10 -07:00
cdc-acm.h
USB: cdc-acm: use CDC serial-state defines
2022-07-25 10:57:41 +02:00
cdc-wdm.c
Merge 6.15-rc4 into usb-next
2025-04-28 10:32:58 +02:00
Kconfig
treewide: replace '---help---' in Kconfig files with 'help'
2020-06-14 01:57:21 +09:00
Makefile
USB: add SPDX identifiers to all remaining Makefiles
2017-11-07 15:53:48 +01:00
usblp.c
usb: usblp: Use min_t() to improve usblp_read()
2025-09-06 15:20:22 +02:00
usbtmc.c
usb: usbtmc: Fix timeout value in get_stb
2025-05-21 15:01:09 +02:00
Powered by Gitea Version: 1.27.3 Page: 997ms Template: 2ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API