Message ID | 1474469088-25429-1-git-send-email-lrichard@redhat.com (mailing list archive) |
---|---|
State | Superseded, archived |
Headers | show |
On Wed, Sep 21, 2016 at 7:44 AM, Lance Richardson <lrichard@redhat.com> 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@redhat.com> > --- > 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@vger.kernel.org > 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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",
The __assume_aligned__ attribute can be safely ignored, add it to the list of ignored attributes. Signed-off-by: Lance Richardson <lrichard@redhat.com> --- parse.c | 2 ++ 1 file changed, 2 insertions(+)