linux-sparse.vger.kernel.org archive mirror
 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

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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).