diff options
| author | Johan Hovold <[email protected]> | 2021-04-07 11:52:08 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-04-10 10:36:34 +0200 |
| commit | 79c5966cec7b148199386ef9933c31b999379065 (patch) | |
| tree | 5b05a09c722369465dcf5bd704fb536f688c90ac /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 8b57b3a123718c6fe95f83f3881b7d8eca623764 (diff) | |
serial: core: return early on unsupported ioctls
Drivers can return -ENOIOCTLCMD when an ioctl is not recognised to tell
the upper layers to continue looking for a handler.
This is not the case for the RS485 and ISO7816 ioctls whose handlers
should return -ENOTTY directly in case a serial driver does not
implement the corresponding methods.
Fixes: a5f276f10ff7 ("serial_core: Handle TIOC[GS]RS485 ioctls.")
Fixes: ad8c0eaa0a41 ("tty/serial_core: add ISO7816 infrastructure")
Signed-off-by: Johan Hovold <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions