Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752490Ab0GJSgO (ORCPT ); Sat, 10 Jul 2010 14:36:14 -0400 Received: from mail-gy0-f174.google.com ([209.85.160.174]:64016 "EHLO mail-gy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750973Ab0GJSgL convert rfc822-to-8bit (ORCPT ); Sat, 10 Jul 2010 14:36:11 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=uu97nTEqNB1BJgZl4jjKQtzg35ttwmHxtdlbPfyGxImvCrVkN+rE88kZM3yAjZnWVK c8yaLn6mlNaV7H+kliSE8zZJqQM2w5u4AhEMXXvNPc8zWjoLwTI42M8Sf0iw+vUMYsK6 vGYl9MS17R8Q3ulplt+caOHWGbqwhx1Q8OiNg= MIME-Version: 1.0 In-Reply-To: <1278751162-10053-1-git-send-email-jslaby@suse.cz> References: <1278751162-10053-1-git-send-email-jslaby@suse.cz> Date: Sat, 10 Jul 2010 11:36:10 -0700 Message-ID: Subject: Re: [PATCH 1/2] parser: fix and simplify support of asm goto From: Chris Li To: Jiri Slaby Cc: jirislaby@gmail.com, Larry Finger , linux-kernel@vger.kernel.org, linux-sparse@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 481 Lines: 12 On Sat, Jul 10, 2010 at 1:39 AM, Jiri Slaby 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-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/