[PATCH 5.10 246/530] tty: fix return value for unsupported ioctls