lkml.org 
[lkml]   [2008]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: tty warning
Hi Dave,

On Wed, 05 Nov 2008 20:25:57 -0800 (PST) David Miller <davem@davemloft.net> wrote:
>
> From: Stephen Rothwell <sfr@canb.auug.org.au>
> 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 :)

Yeah, I guess that is when the compilers started complaining.

Oh, well :-(

[BTW, the number of warnings is itself becoming a real problem ... :-( ]
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2008-11-06 05:39    [W:0.045 / U:0.620 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site