projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c211c96
)
drivers net: Fix declaration ordering in inline functions.
author
Balaji G
<balajig81@gmail.com>
Sun, 27 Mar 2011 17:15:19 +0000
(17:15 +0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 29 Mar 2011 05:26:34 +0000
(22:26 -0700)
The correct usage should be "static inline void" instead of "static void inline"
Signed-off-by: G.Balaji <balajig81@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/bnx2.c
b/drivers/net/bnx2.c
index d1865cc973130d2674bb8a3b907fca36ed293008..8e6d618b53052139981cf5cc6df6720d11382a0c 100644
(file)
--- 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;
}