Re: tty compile warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 1 Sep 2008 14:57:29 +0100

> You could try removing _x_cc[2] and changing [NCCS] to [NCCS+2] which
> might work depending upon the alignment you get.

We can't do that kind of change for the "struct termios" case as
changing the array size would change the size of the structure in
userspace.  Here, the _x_cc[] thing is only present when __KERNEL__.

I've looked at this issue before, and so far my conclusion is that
ignoring the warnings and teaching other people to do so as well is so
much easier than trying to make this palatable to the compiler and
checking tools.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux