All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Li <christ.li@gmail.com>
To: Jiri Slaby <jslaby@suse.cz>
Cc: jirislaby@gmail.com, Larry Finger <Larry.Finger@lwfinger.net>,
	linux-kernel@vger.kernel.org, linux-sparse@vger.kernel.org
Subject: Re: [PATCH 1/2] parser: fix and simplify support of asm goto
Date: Sat, 10 Jul 2010 11:36:10 -0700	[thread overview]
Message-ID: <AANLkTik60ShxdSb8mE0BLGKPmSe3saUTPVHbxCBXqPGp@mail.gmail.com> (raw)
In-Reply-To: <1278751162-10053-1-git-send-email-jslaby@suse.cz>

On Sat, Jul 10, 2010 at 1:39 AM, Jiri Slaby <jslaby@suse.cz> wrote:
> +       if (token->ident == &goto_ident) {

You need to test the token type is TOKEN_IDENT before using token->ident.
I will apply your patch with the fix up.

Chris

WARNING: multiple messages have this Message-ID (diff)
From: Chris Li <christ.li@gmail.com>
To: Jiri Slaby <jslaby@suse.cz>
Cc: jirislaby@gmail.com, Larry Finger <Larry.Finger@lwfinger.net>,
	linux-kernel@vger.kernel.org, linux-sparse@vger.kernel.org
Subject: Re: [PATCH 1/2] parser: fix and simplify support of asm goto
Date: Sat, 10 Jul 2010 11:36:10 -0700	[thread overview]
Message-ID: <AANLkTik60ShxdSb8mE0BLGKPmSe3saUTPVHbxCBXqPGp@mail.gmail.com> (raw)
In-Reply-To: <1278751162-10053-1-git-send-email-jslaby@suse.cz>

On Sat, Jul 10, 2010 at 1:39 AM, Jiri Slaby <jslaby@suse.cz> wrote:
> +       if (token->ident == &goto_ident) {

You need to test the token type is TOKEN_IDENT before using token->ident.
I will apply your patch with the fix up.

Chris
--
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

  reply	other threads:[~2010-07-10 18:36 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-09  1:52 Warning message when using sparse Larry Finger
2010-07-09 20:47 ` Jiri Slaby
2010-07-09 21:22   ` Larry Finger
2010-07-09 21:26     ` Jiri Slaby
2010-07-09 22:04       ` Christopher Li
2010-07-10  8:39         ` [PATCH 1/2] parser: fix and simplify support of asm goto Jiri Slaby
2010-07-10 18:36           ` Chris Li [this message]
2010-07-10 18:36             ` Chris Li
2010-07-10  8:39         ` [PATCH 2/2] parser: define __builtin_unreachable Jiri Slaby
2010-07-10  9:07           ` Josh Triplett
2010-07-13  7:52             ` Chris Li
2010-07-13  7:52               ` Chris Li
2010-07-13 18:12               ` Josh Triplett
2010-07-13 18:49                 ` Chris Li
2010-07-13 18:49                   ` Chris Li

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=AANLkTik60ShxdSb8mE0BLGKPmSe3saUTPVHbxCBXqPGp@mail.gmail.com \
    --to=christ.li@gmail.com \
    --cc=Larry.Finger@lwfinger.net \
    --cc=jirislaby@gmail.com \
    --cc=jslaby@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sparse@vger.kernel.org \
    /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 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.