All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/5] Staging: lustre: Move export_symbol below its function
@ 2015-02-21 11:44 aybuke ozdemir
  2015-02-21 11:44 ` [PATCH 2/5] Staging: lustre: Added blank line after declarations aybuke ozdemir
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: aybuke ozdemir @ 2015-02-21 11:44 UTC (permalink / raw)
  To: outreachy-kernel; +Cc: aybuke ozdemir

This patch fixes "EXPORT_SYMBOL(foo); should immediately follow its
function/variable" checkpatch.pl warning in file.c

Signed-off-by: aybuke ozdemir <aybuke.147@gmail.com>
---
 drivers/staging/lustre/lustre/llite/file.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/staging/lustre/lustre/llite/file.c b/drivers/staging/lustre/lustre/llite/file.c
index 7c7ef7e..40bb11e 100644
--- a/drivers/staging/lustre/lustre/llite/file.c
+++ b/drivers/staging/lustre/lustre/llite/file.c
@@ -3233,6 +3233,7 @@ void *ll_iocontrol_register(llioc_callback_t cb, int count, unsigned int *cmd)
 
 	return in_data;
 }
+EXPORT_SYMBOL(ll_iocontrol_register);
 
 void ll_iocontrol_unregister(void *magic)
 {
@@ -3257,8 +3258,6 @@ void ll_iocontrol_unregister(void *magic)
 
 	CWARN("didn't find iocontrol register block with magic: %p\n", magic);
 }
-
-EXPORT_SYMBOL(ll_iocontrol_register);
 EXPORT_SYMBOL(ll_iocontrol_unregister);
 
 static enum llioc_iter
-- 
1.9.1



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

end of thread, other threads:[~2015-02-21 14:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-21 11:44 [PATCH 1/5] Staging: lustre: Move export_symbol below its function aybuke ozdemir
2015-02-21 11:44 ` [PATCH 2/5] Staging: lustre: Added blank line after declarations aybuke ozdemir
2015-02-21 11:44 ` [PATCH 3/5] Staging: lustre: Corrected code indentation aybuke ozdemir
2015-02-21 14:57   ` [Outreachy kernel] " Julia Lawall
2015-02-21 11:44 ` [PATCH 4/5] Staging: lustre: Added spaces around '=' aybuke ozdemir
2015-02-21 14:57   ` [Outreachy kernel] " Julia Lawall
2015-02-21 11:44 ` [PATCH 5/5] Staging: lustre: Remove space after the name of that function aybuke ozdemir

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.