From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S939227AbXG3JeT (ORCPT ); Mon, 30 Jul 2007 05:34:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932157AbXG3JeM (ORCPT ); Mon, 30 Jul 2007 05:34:12 -0400 Received: from hellhawk.shadowen.org ([80.68.90.175]:3009 "EHLO hellhawk.shadowen.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1765851AbXG3JeL (ORCPT ); Mon, 30 Jul 2007 05:34:11 -0400 Message-ID: <46ADB08F.3060601@shadowen.org> Date: Mon, 30 Jul 2007 10:34:07 +0100 From: Andy Whitcroft User-Agent: Icedove 1.5.0.9 (X11/20061220) MIME-Version: 1.0 To: Dan Williams CC: rdunlap@xenotime.net, jschopp@austin.ibm.com, lkml Subject: Re: checkpatch.pl false positive on exported pointers References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Dan Williams wrote: > WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable > #563: FILE: drivers/scsi/iioc34x/iioc34x_sas.c:58: > +EXPORT_SYMBOL(iioc34x_transport_template); > > drivers/scsi/iioc34x/iioc34x_sas.c:57 > struct scsi_transport_template *iioc34x_transport_template; > EXPORT_SYMBOL(iioc34x_transport_template); > > I suspect the script wants: > EXPORT_SYMBOL(*iioc34x_transport_template); > ...but that does not compile. Thanks for the report. Will look into this for the next update. -apw