All of lore.kernel.org
 help / color / mirror / Atom feed
* Braino in attribute_packed()
@ 2009-03-11 15:45 Al Viro
  2009-03-11 19:39 ` Christopher Li
  0 siblings, 1 reply; 2+ messages in thread
From: Al Viro @ 2009-03-11 15:45 UTC (permalink / raw)
  To: linux-sparse


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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: Braino in attribute_packed()
  2009-03-11 15:45 Braino in attribute_packed() Al Viro
@ 2009-03-11 19:39 ` Christopher Li
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Li @ 2009-03-11 19:39 UTC (permalink / raw)
  To: Al Viro; +Cc: linux-sparse

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-11 19:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-11 15:45 Braino in attribute_packed() Al Viro
2009-03-11 19:39 ` Christopher Li

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.