diff options
| author | Ilpo Järvinen <[email protected]> | 2022-06-06 13:04:21 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-06-10 13:49:57 +0200 |
| commit | 51ad36baacb3b2fd1bd980138a937d30d6c84cdf (patch) | |
| tree | 8eabb46704586aeb0f9d9855fb0f2171289b170d /include/linux/stackprotector.h | |
| parent | 596a9171472ba31edce566e938524dbbe3c54183 (diff) | |
serial: return -EINVAL for non-legacy RS485 flags
In order to be add new flags more cleanly and safely, return -EINVAL
from TIOCSRS485 ioctl for the flags bits which are not among the
current legacy ones.
This might cause a regression for userspace as those non-flag bits do
not currently trigger -EINVAL. However, it would only occur if the
userspace is sending garbage bits so perhaps we'll get away with this
change.
Signed-off-by: Ilpo Järvinen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions