diff options
| author | Shirong Zhao <shxzhaosr@163.com> | 2026-10-05 13:58:25 +0800 |
|---|---|---|
| committer | Heiko Carstens <hca@linux.ibm.com> | 2026-10-05 10:34:34 +0200 |
| commit | 74a31be974dde1d12ed9db131b413c519f8fc429 (patch) | |
| tree | e806b45a44687467737d66423653ca0073ed1f89 /tools/lib/python | |
| parent | 5e9b339f323216d71f3ede8a0a427abf7859c486 (diff) | |
| download | linux-next-74a31be974dde1d12ed9db131b413c519f8fc429.tar.gz linux-next-74a31be974dde1d12ed9db131b413c519f8fc429.zip | |
s390/fs3270: Return -ENOTTY for unknown ioctls in fs3270_ioctl()
fs3270_ioctl() initializes rc to 0 and its cmd switch has no default
branch, so an unrecognized ioctl command returns success without doing
anything. Follow the ioctl convention and reject unknown commands with
-ENOTTY.
[hca@linux.ibm.com: shortened commit description]
Signed-off-by: Shirong Zhao <shxzhaosr@163.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
