diff options
| author | 2014-05-16 14:22:41 +0200 | |
|---|---|---|
| committer | 2014-05-23 21:37:20 +0900 | |
| commit | 539b4f72d0da83e4d20df7cfc27dc49c00316940 (patch) | |
| tree | a38ec67bc21b3ebcc608bef88a57bbe6719959fd /scripts/patch-kernel | |
| parent | staging: vt6655: Remove useless return variables (diff) | |
staging/rtl8192u: Put EXPORT_SYMBOL just after the exported function
Export of symbols statement must be placed right after the definition to meet
kernel coding style guidelines. This issue was reported by checkpatch.
A simplified version of the semantic patch that makes this change is as
follows (http://coccinelle.lip6.fr/):
// <smpl>
@ r @ identifier f; @@
- EXPORT_SYMBOL(f);
@@ identifier r.f; @@
f(...) { ... }
+ EXPORT_SYMBOL(f);
// </smpl>
Signed-off-by: Benoit Taine <benoit.taine@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
