summaryrefslogtreecommitdiffstats
path: root/kernel/sched
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-01-12 14:56:18 +0100
committerJohan Hovold <johan@kernel.org>2017-01-16 16:38:56 +0100
commitcd8db057e93ddaacbec025b567490555d2bca280 (patch)
tree873ec9859425b3b2769e36bcafb959a52ac3a25d /kernel/sched
parentUSB: serial: mos7720: fix control-message error handling (diff)
downloadlinux-cd8db057e93ddaacbec025b567490555d2bca280.tar.xz
linux-cd8db057e93ddaacbec025b567490555d2bca280.zip
USB: serial: mos7840: fix control-message error handling
Make sure to detect short transfers when reading a device register. The modem-status handling had sufficient error checks in place, but move handling of short transfers into the register accessor function itself for consistency. Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'kernel/sched')
0 files changed, 0 insertions, 0 deletions