netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Net: ethernet: pe2.c: fix EXPORT_SYMBOL macro code style issue
@ 2010-07-14 20:24 Chihau Chau
  2010-07-15  1:27 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Chihau Chau @ 2010-07-14 20:24 UTC (permalink / raw)
  To: davem; +Cc: tj, netdev, linux-kernel, Chihau Chau

From: Chihau Chau <chihau@gmail.com>

This patch fix a code style issuei, if a function is exported, the
EXPORT_SYMBOL macro for it should follow immediately after the closing
function brace line.

Signed-off-by: Chihau Chau <chihau@gmail.com>
---
 net/ethernet/pe2.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/net/ethernet/pe2.c b/net/ethernet/pe2.c
index eb00796..85d574a 100644
--- a/net/ethernet/pe2.c
+++ b/net/ethernet/pe2.c
@@ -28,11 +28,10 @@ struct datalink_proto *make_EII_client(void)
 
 	return proto;
 }
+EXPORT_SYMBOL(make_EII_client);
 
 void destroy_EII_client(struct datalink_proto *dl)
 {
 	kfree(dl);
 }
-
 EXPORT_SYMBOL(destroy_EII_client);
-EXPORT_SYMBOL(make_EII_client);
-- 
1.5.6.3


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

* Re: [PATCH] Net: ethernet: pe2.c: fix EXPORT_SYMBOL macro code style issue
  2010-07-14 20:24 [PATCH] Net: ethernet: pe2.c: fix EXPORT_SYMBOL macro code style issue Chihau Chau
@ 2010-07-15  1:27 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2010-07-15  1:27 UTC (permalink / raw)
  To: chihau; +Cc: tj, netdev, linux-kernel

From: Chihau Chau <chihau@gmail.com>
Date: Wed, 14 Jul 2010 16:24:34 -0400

> From: Chihau Chau <chihau@gmail.com>
> 
> This patch fix a code style issuei, if a function is exported, the
> EXPORT_SYMBOL macro for it should follow immediately after the closing
> function brace line.
> 
> Signed-off-by: Chihau Chau <chihau@gmail.com>

Applied.

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

end of thread, other threads:[~2010-07-15  1:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-14 20:24 [PATCH] Net: ethernet: pe2.c: fix EXPORT_SYMBOL macro code style issue Chihau Chau
2010-07-15  1:27 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).