aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/class/cdc-acm.c
diff options
context:
space:
mode:
authorJiri Slaby (SUSE) <[email protected]>2023-08-10 09:14:57 +0000
committerGreg Kroah-Hartman <[email protected]>2023-08-11 19:12:46 +0000
commitccc8dc00a24bb657b6a6f8adbfbb535365b4ba3d (patch)
treeef766b271ec111c688f094c40b5de25b78204c6a /drivers/usb/class/cdc-acm.c
parenttty: rename and de-inline do_tty_write() (diff)
downloadkernel-ccc8dc00a24bb657b6a6f8adbfbb535365b4ba3d.tar.gz
kernel-ccc8dc00a24bb657b6a6f8adbfbb535365b4ba3d.zip
tty: use min() in iterate_tty_write()
It simplifies the code. The "price" is we have to unify 'chunk' to be size_t the same as 'count' is. But that change is actually correct. 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