[lkml]   [2000]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] isa_{read,write}{w,l} fixed
> Philipp's point is still valid though, u32 is only 2 byte aligned on

Alan's point. My point was you could rely on gcc not padding structures
when you always explicitly padded to natural alignment boundaries. Eg
when you do struct { u16 s; u32 l; } you deserve to get burned, but when
you do struct { u16 s; u16 unused; u32 l; } you can expect gcc not to
be smart on you.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:56    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean