netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drivers net: Fix declaration ordering in inline functions.
@ 2011-03-28  3:15 G.Balaji
  2011-03-29  5:27 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: G.Balaji @ 2011-03-28  3:15 UTC (permalink / raw)
  To: davem; +Cc: netdev, G.Balaji

The correct usage should be "static inline void" instead of "static void inline"

Signed-off-by: G.Balaji <balajig81@gmail.com>
---
 drivers/net/bnx2.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c
index d1865cc..8e6d618 100644
--- a/drivers/net/bnx2.c
+++ b/drivers/net/bnx2.c
@@ -8317,7 +8317,7 @@ static const struct net_device_ops bnx2_netdev_ops = {
 #endif
 };
 
-static void inline vlan_features_add(struct net_device *dev, u32 flags)
+static inline void vlan_features_add(struct net_device *dev, u32 flags)
 {
 	dev->vlan_features |= flags;
 }
-- 
1.7.4


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

end of thread, other threads:[~2011-03-29  5:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-28  3:15 [PATCH] drivers net: Fix declaration ordering in inline functions G.Balaji
2011-03-29  5: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).