Re: Found trivial error inlinux-headers-2.6.17-11-generic/include/linux/tty.h

From: Randy Dunlap
Date: Mon Feb 12 2007 - 11:48:59 EST


On Mon, 12 Feb 2007 12:42:22 +0100 Milan Markovic wrote:

> I upgraded the kernel on my Kubuntu 6.10 to 2.6.17-11-generic and had
> a lot of trouble compiling my softmodem driver.
> Apparently it was, among others, because of a mistake in kernel-headers
> this is what I've found in tty.h
>
> $ cat -n /usr/src/linux-headers-2.6.17-11-generic/include/linux/tty.h
> | grep Define -C 3
> 83 */
> 84 #define TTY_NORMAL 0
> 85 #define TTY_BREAK 1
> 86 #Define Tty_Frame 2
> 87 #define TTY_PARITY 3
> 88 #define TTY_OVERRUN 4
> 89
>
> I don't know whether it is Ubuntu-related error, or it came from the
> top, and I wasn't really sure to whom should I address this error
> report.
> Hope this will help.

Apparently it's Ubuntu. Linux include/linux/tty.h says:

#define TTY_NORMAL 0
#define TTY_BREAK 1
#define TTY_FRAME 2
#define TTY_PARITY 3
#define TTY_OVERRUN 4


---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
-
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/