lkml.org 
[lkml]   [2008]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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


\
 
 \ /
  Last update: 2008-01-14 20:27    [W:0.038 / U:1.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site