Re: [IRDA] IRNET: Fix build when TCGETS2 is defined.

From: Alan Cox
Date: Thu Nov 01 2007 - 18:28:56 EST


On Thu, 1 Nov 2007 19:59:25 GMT
Linux Kernel Mailing List <linux-kernel@xxxxxxxxxxxxxxx> wrote:

> Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=49259d34c52df6be482fefca946debe28ba9a2f6
> Commit: 49259d34c52df6be482fefca946debe28ba9a2f6
> Parent: 3b582cc14c50f71eabf1c3cada05acb8dc9f457c
> Author: David S. Miller <davem@xxxxxxxxxxxxxxxxxxxx>
> AuthorDate: Thu Nov 1 02:26:38 2007 -0700
> Committer: David S. Miller <davem@xxxxxxxxxxxxxxxxxxxx>
> CommitDate: Thu Nov 1 02:26:38 2007 -0700
>
> [IRDA] IRNET: Fix build when TCGETS2 is defined.
>
> Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>

NO NO NO NO NO NO NO

Line disciplines have no business touching termios ioctls. Especially
wrongly.

Nothing anywhere in the kernel but the core ioctl code should be
processing TCGET/TCSET calls.

Just delete them. It will return -ENOIOCTLCMD and the core tty layer will
process them.

Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/