Re: tty warning

From: David Miller
Date: Wed Nov 05 2008 - 23:26:18 EST


From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Date: Thu, 6 Nov 2008 15:24:21 +1100

> These are things like:
>
> termios->c_cc[VTIME] = 0;
>
> termios is a (struct ktermios *) which has "cc_t c_cc[NCCS];". NCCS is
> 17 and VTIME is also 17. I assume the intention is to actually fill in
> _x_cc[0], but why is it done this way and not more directly?

It's just some historical stuff.

I've tried to rectify it, but it is non-trivial to fix and
all it does is pacify a warning rather than fix a real problem
so... ;-)

This has been brought up perhaps 5 or 6 times in the past half
year :)
--
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/