[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.44L0.1106201436430.2113-100000@iolanthe.rowland.org>
Date: Mon, 20 Jun 2011 14:39:02 -0400 (EDT)
From: Alan Stern <stern@...land.harvard.edu>
To: Alexander Holler <holler@...oftware.de>
cc: Nicolas Pitre <nico@...xnic.net>, Arnd Bergmann <arnd@...db.de>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-usb@...r.kernel.org>, <gregkh@...e.de>,
lkml <linux-kernel@...r.kernel.org>, Rabin Vincent <rabin@....in>
Subject: Re: [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
structure?
Alan Stern
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists