Re: [PATCH] USB: ehci: use packed,aligned(4) instead of removingthe packed attribute

From: Alexander Holler
Date: Wed Jun 22 2011 - 02:22:33 EST


Hello,

On 21.06.2011 22:41, Nicolas Pitre wrote:

> ... and also in this case, I was talking about proper use of the packed
> attribute in general, not at all about a specific case. I wanted to
> provide a broader view to some people who expressed doubts and
> misunderstanding in the hope that the archive could keep this knowledge
> base available.
>
> I apologize if that wasn't clear to you.

If you meant the abomination writing one, thanks, but I never expressed
doubts or misunderstandings.

I said doubts may arise because the standard (C99) doesn't say anything
about if or how structs are packed (or aligned).

Alexander
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/