summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorShirong Zhao <shxzhaosr@163.com>2026-10-05 13:58:25 +0800
committerHeiko Carstens <hca@linux.ibm.com>2026-10-05 10:34:34 +0200
commit74a31be974dde1d12ed9db131b413c519f8fc429 (patch)
treee806b45a44687467737d66423653ca0073ed1f89 /tools/lib/python
parent5e9b339f323216d71f3ede8a0a427abf7859c486 (diff)
downloadlinux-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