[lkml]   [2011]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] USB: ehci: use packed,aligned(4) instead of removing the packed attribute
On Mon, 20 Jun 2011, Alexander Holler wrote:

> I see it that way: packed is needed to be sure that at least for struct
> ehci_regs there are no padding bytes inbetween the members.

But is it _really_ needed?

> It might
> work without, but that depends on the compiler (-version, architecture,
> whatever).

Have there _ever_ been _any_ combinations of compiler, version,
architecture, whatever, that had unwanted padding bytes in this

Alan Stern

 \ /
  Last update: 2011-06-20 20:41    [W:0.329 / U:2.240 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site