[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <46ADB08F.3060601@shadowen.org>
Date: Mon, 30 Jul 2007 10:34:07 +0100
From: Andy Whitcroft <apw@...dowen.org>
To: Dan Williams <dan.j.williams@...el.com>
CC: rdunlap@...otime.net, jschopp@...tin.ibm.com,
lkml <linux-kernel@...r.kernel.org>
Subject: Re: checkpatch.pl false positive on exported pointers
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists