public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* EXPORTS_SYMBOLs that are in assembly?
@ 2008-01-14  1:41 Steven Rostedt
  2008-01-14 19:25 ` Andy Whitcroft
  0 siblings, 1 reply; 3+ messages in thread
From: Steven Rostedt @ 2008-01-14  1:41 UTC (permalink / raw)
  To: apw; +Cc: rdunlap, jschopp, LKML


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

Your patch has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

Thanks,

-- Steve


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-01-15 15:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-14  1:41 EXPORTS_SYMBOLs that are in assembly? Steven Rostedt
2008-01-14 19:25 ` Andy Whitcroft
2008-01-15 15:09   ` Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox