Message ID | E1LhQct-0006sH-5W@ZenIV.linux.org.uk (mailing list archive) |
---|---|
State | Mainlined, archived |
Headers | show |
All applied. Thanks! Chris On Wed, Mar 11, 2009 at 8:45 AM, Al Viro <viro@ftp.linux.org.uk> wrote: > > D'oh... > > Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> > --- >  parse.c |   2 +- >  1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/parse.c b/parse.c > index f16d321..e2b47e3 100644 > --- a/parse.c > +++ b/parse.c > @@ -943,7 +943,7 @@ static struct token *ignore_attribute(struct token *token, struct symbol *attr, > >  static struct token *attribute_packed(struct token *token, struct symbol *attr, struct decl_state *ctx) >  { > -    if (!&ctx->ctype.alignment) > +    if (!ctx->ctype.alignment) >         ctx->ctype.alignment = 1; >     return token; >  } > -- > 1.5.6.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 f16d321..e2b47e3 100644 --- a/parse.c +++ b/parse.c @@ -943,7 +943,7 @@ static struct token *ignore_attribute(struct token *token, struct symbol *attr, static struct token *attribute_packed(struct token *token, struct symbol *attr, struct decl_state *ctx) { - if (!&ctx->ctype.alignment) + if (!ctx->ctype.alignment) ctx->ctype.alignment = 1; return token; }
D'oh... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> --- parse.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)