Re: [PATCH] sparse: ignore __assume_aligned__ attribute

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 21, 2016 at 7:44 AM, Lance Richardson <lrichard@xxxxxxxxxx> wrote:
> The __assume_aligned__ attribute can be safely ignored, add it
> to the list of ignored attributes.

Thanks for the patch. Sorry for the delay. The change looks fine.

Can you add some test case of the  __assume_aligned__ attribute?
I want to see how it was used in your source code which cause the problem
for sparse.

We need some basic test case just in case we parse the attributes in the
future.

Thanks

Chris


>
> Signed-off-by: Lance Richardson <lrichard@xxxxxxxxxx>
> ---
>  parse.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/parse.c b/parse.c
> index 98a31dc..2a1b57e 100644
> --- a/parse.c
> +++ b/parse.c
> @@ -526,6 +526,8 @@ const char *ignored_attributes[] = {
>         "__always_inline__",
>         "artificial",
>         "__artificial__",
> +       "assume_aligned",
> +       "__assume_aligned__",
>         "bounded",
>         "__bounded__",
>         "cdecl",
> --
> 2.5.5
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux