Something went wrong. Try again.
(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Something went wrong. Try again.
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>
Author Shirong Zhao Committer Heiko Carstens Date (Oct 5, 2026, 8:34 AM UTC) Commit
Copy SHA
Parent 5e9b339f 5e9b339f323216d71f3ede8a0a427abf7859c486