[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080114192507.GC25058@shadowen.org>
Date: Mon, 14 Jan 2008 19:25:07 +0000
From: Andy Whitcroft <apw@...dowen.org>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: rdunlap@...otime.net, jschopp@...tin.ibm.com,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: EXPORTS_SYMBOLs that are in assembly?
On Sun, Jan 13, 2008 at 08:41:20PM -0500, Steven Rostedt wrote:
>
> Hi guys,
>
> Just wondering what the proper way to export a symbol that is defined in
> assembly? Or is there some kind of annotation I can add in comment form
> that will let checkpatch know the variable is not in C?
>
> Here's what I'm getting:
>
> ./scripts/checkpatch.pl patches/`quilt top`
> WARNING: EXPORT_SYMBOL(foo); should immediately follow its
> function/variable
> #197: FILE: lib/tracing/mcount.c:42:
> +EXPORT_SYMBOL_GPL(mcount);
>
> total: 0 errors, 1 warnings, 316 lines checked
Could you send me a fuller example fragment defining 'foo' as an
example? It is entirly possible you are doing it right and this is an
'ignore checkpatch' situation.
-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