From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Torvalds Subject: Re: [PATCH] Re: Sparse just seg faulted on me! Date: Wed, 14 Feb 2007 10:24:09 -0800 (PST) Message-ID: References: <9C17AC42-0C51-44D9-B126-1FB781DE0ECA@cam.ac.uk> <20070214172905.GA17959@chrisli.org> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: Received: from smtp.osdl.org ([65.172.181.24]:38332 "EHLO smtp.osdl.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932431AbXBNSYQ (ORCPT ); Wed, 14 Feb 2007 13:24:16 -0500 In-Reply-To: <20070214172905.GA17959@chrisli.org> Sender: linux-sparse-owner@vger.kernel.org List-Id: linux-sparse@vger.kernel.org To: Christopher Li Cc: Anton Altaparmakov , Sparse , Josh Triplett On Wed, 14 Feb 2007, Christopher Li wrote: > > > fs/ntfs/sysctl.c:38:15: error: undefined identifier 'CTL_UNNUMBRED' > > Sparse left empty ctype when error happen. Sparse should skip > the expand_symbol() at all if error happen. Actually, it's often better to just explicitly make "ctype" be "&bad_ctype" instead. It's nice if a NULL type means "type has not been evaluated yet", and then using "&bad_ctype" to mean "type evaluated to crap". Linus