From: Christopher Li <sparse@chrisli.org>
To: Al Viro <viro@ftp.linux.org.uk>
Cc: linux-sparse@vger.kernel.org
Subject: Re: Braino in attribute_packed()
Date: Wed, 11 Mar 2009 12:39:32 -0700 [thread overview]
Message-ID: <70318cbf0903111239x6c2cfed6ybc997c835500c3dc@mail.gmail.com> (raw)
In-Reply-To: <E1LhQct-0006sH-5W@ZenIV.linux.org.uk>
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
prev parent reply other threads:[~2009-03-11 19:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-11 15:45 Braino in attribute_packed() Al Viro
2009-03-11 19:39 ` Christopher Li [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=70318cbf0903111239x6c2cfed6ybc997c835500c3dc@mail.gmail.com \
--to=sparse@chrisli.org \
--cc=linux-sparse@vger.kernel.org \
--cc=viro@ftp.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).