On 11 January 2017 at 06:53, Linus Torvalds
<[email protected]> wrote:
>
>
> On Jan 10, 2017 8:36 PM, "Herbert Xu" <[email protected]> wrote:
>
>
> Sure we can ban the use of attribute aligned on stacks.  But
> what about indirect uses through structures?
>
>
> It should be pretty trivial to add a sparse warning for that, though.
>

Couldn't we update the __aligned(x) macro to emit 32 if arch == x86
and x == 16? All other cases should work just fine afaict

Reply via email to