diff options
| author | Sven Peter <[email protected]> | 2021-09-14 14:02:35 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-09-21 14:31:28 +0000 |
| commit | b7a0a63f3fed57d413bb857de164ea9c3984bc4e (patch) | |
| tree | 5021ec3cd04fa6d6e15cc90d82e1b79161bc1017 /drivers/usb/class/cdc-acm.c | |
| parent | usb: typec: tipd: Add an additional overflow check (diff) | |
| download | kernel-b7a0a63f3fed57d413bb857de164ea9c3984bc4e.tar.gz kernel-b7a0a63f3fed57d413bb857de164ea9c3984bc4e.zip | |
usb: typec: tipd: Remove WARN_ON in tps6598x_block_read
Calling tps6598x_block_read with a higher than allowed len can be
handled by just returning an error. There's no need to crash systems
with panic-on-warn enabled.
Reviewed-by: Heikki Krogerus <[email protected]>
Signed-off-by: Sven Peter <[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
