Source-Changes-D archive

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

Re: CVS commit: src/sys



On Tue, Aug 18, 2009 at 07:04:17AM +0100, David Laight wrote:
> On Mon, Aug 17, 2009 at 10:17:09PM -0400, Christos Zoulas wrote:
> > 
> > Log Message:
> > 1. some of the video24linux structs are not as machine independent as their
> >    authors want them to be. For the buffer ioctls, define new ioctls with
> >    the 32 bit buffer sizes. For the format struct, define it as packed
> >    so it is the same on 32 and 64 bit. (I might need to version this)
> 
> You probably just want to use the '64bit integer with 32bit alignment'
> rather than marking the structure as packed.

__packed __aligned(4) is correct and persuasive.

Dave

-- 
David Young             OJC Technologies
dyoung%ojctech.com@localhost      Urbana, IL * (217) 278-3933


Home | Main Index | Thread Index | Old Index