Re: [tip:x86/x32] x32: Fix alignment fail in struct compat_siginfo

From: H.J. Lu
Date: Wed Apr 18 2012 - 17:49:12 EST


On Wed, Apr 18, 2012 at 2:24 PM, H. Peter Anvin <hpa@xxxxxxxxx> wrote:
> Something like this works for you?
>
> Note: we should promote __compat_[us]64 to a global type when we do the
> cleanup work requested by Linus (change __[us]64 to explicitly aligned
> types, with all users that require the old types using __compat_[us]64),

It looks good to me.

> but we need the compiler warning to do that, realistically.
>

I think you mentioned to me about this. Have you opened a gcc bug to
request to this feature?

Thanks.

--
H.J.
--
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/