aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/class/cdc-acm.c
diff options
context:
space:
mode:
authorJiri Slaby (SUSE) <[email protected]>2023-08-10 09:14:59 +0000
committerGreg Kroah-Hartman <[email protected]>2023-08-11 19:12:46 +0000
commite3afc5b0d708e2ef389b9c7acd45d1e4fd2cb304 (patch)
tree2d6aa106478a38359b01660eaf7edd7fdc20bf7b /drivers/usb/class/cdc-acm.c
parenttty: use ssize_t for iterate_tty_read() returned type (diff)
downloadkernel-e3afc5b0d708e2ef389b9c7acd45d1e4fd2cb304.tar.gz
kernel-e3afc5b0d708e2ef389b9c7acd45d1e4fd2cb304.zip
tty: switch size and count types in iterate_tty_read() to size_t
ld->ops->read() returns ssize_t. copy_to_iter() returns size_t. So switch the variables ('size' and 'copied', respectively) to the corresponding types. This allows for use of min() in the next patch. 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