Braino in attribute_packed()
D'oh...
Signed-off-by Al Viro <[email protected]>
--- parse.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
parse.c +1 -1
@@ -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; }
Signature · 1 line
1.5.6.5
Christopher Li
maintainerAll applied.
Thanks!
Chris
Quoted 24 lines · Al Viro
D'oh...
Signed-off-by Al Viro <[email protected]>---
parse.c | 2 +-1 files changed, 1 insertions(+), 1 deletions(-)parse.c +1
-2@@ -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
Quoted 5 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to [email protected]
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html