Messages in this thread | | | Date | Mon, 14 Jan 2008 19:25:07 +0000 | From | Andy Whitcroft <> | 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
| |