aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/class/cdc-acm.c
diff options
context:
space:
mode:
authorJiri Slaby (SUSE) <[email protected]>2023-08-10 09:15:00 +0000
committerGreg Kroah-Hartman <[email protected]>2023-08-11 19:12:46 +0000
commit48a6ab8867eff61fa11d9e8f8e1c7327b135e689 (patch)
tree23faf6613ccbcc8ece5dc40c9dab9686035158a4 /drivers/usb/class/cdc-acm.c
parenttty: switch size and count types in iterate_tty_read() to size_t (diff)
downloadkernel-48a6ab8867eff61fa11d9e8f8e1c7327b135e689.tar.gz
kernel-48a6ab8867eff61fa11d9e8f8e1c7327b135e689.zip
tty: use min() for size computation in iterate_tty_read()
The computation is more obvious with min(). Signed-off-by: "Jiri Slaby (SUSE)" <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/class/cdc-acm.c')
0 files changed, 0 insertions, 0 deletions