Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761188AbYCZQ6w (ORCPT ); Wed, 26 Mar 2008 12:58:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759559AbYCZQ6l (ORCPT ); Wed, 26 Mar 2008 12:58:41 -0400 Received: from netops-testserver-3-out.sgi.com ([192.48.171.28]:49127 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756061AbYCZQ6k (ORCPT ); Wed, 26 Mar 2008 12:58:40 -0400 Date: Wed, 26 Mar 2008 11:58:39 -0500 From: Dean Nelson To: Andy Whitcroft Cc: rdunlap@xenotime.net, jschopp@austin.ibm.com, jes@sgi.com, linux-kernel@vger.kernel.org, tony.luck@intel.com, linux-ia64@vger.kernel.org Subject: Re: [Patch 5/5] run drivers/misc/xp through scripts/checkpatch.pl Message-ID: <20080326165839.GG20663@sgi.com> References: <20080325192524.343385569@attica.americas.sgi.com> <20080325192558.959273025@attica.americas.sgi.com> <20080325200517.GA4446@sgi.com> <20080326100336.GE22584@shadowen.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080326100336.GE22584@shadowen.org> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1239 Lines: 32 On Wed, Mar 26, 2008 at 10:03:36AM +0000, Andy Whitcroft wrote: > On Tue, Mar 25, 2008 at 03:05:17PM -0500, Dean Nelson wrote: > > Gah, who ever came up with that syntax. Yep, thats a falsie. Should be > fixed in the latest version: > > http://www.kernel.org/pub/linux/kernel/people/apw/checkpatch/checkpatch.pl-next > > Thanks for the report. You're welcome and thanks for the quick fix to checkpatch.pl. I used the new version and it fixed the problem except for ones that were of the following form: enum xp_retval (*xp_set_amo_with_interrupt) (u64 *amo_va, int op, u64 operand, int remote, int nasid, int phys_cpuid, int vector); EXPORT_SYMBOL_GPL(xp_set_amo_with_interrupt); which still generated the false positive: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable #70: FILE: misc/xp/xp_main.c:70: +EXPORT_SYMBOL_GPL(xp_set_amo_with_interrupt); Thanks, Dean -- 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/