[PATCH 11/21] ipv4: ip_output: remove inline marking of EXPORT_SYMBOL functions

Subsystems: networking [general], networking [ipv4/ipv6], the rest

STALE4878d

2 messages, 2 authors, 2013-05-11 · open the first message on its own page

[PATCH 11/21] ipv4: ip_output: remove inline marking of EXPORT_SYMBOL functions

From: Denis Efremov <hidden>
Date: 2013-05-09 09:22:17

EXPORT_SYMBOL and inline directives are contradictory to each other.
The patch fixes this inconsistency.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Denis Efremov <redacted>
---
 net/ipv4/ip_output.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c
index 147abf5..4bcabf3 100644
--- a/net/ipv4/ip_output.c
+++ b/net/ipv4/ip_output.c
@@ -84,7 +84,7 @@ int sysctl_ip_default_ttl __read_mostly = IPDEFTTL;
 EXPORT_SYMBOL(sysctl_ip_default_ttl);
 
 /* Generate a checksum for an outgoing IP datagram. */
-__inline__ void ip_send_check(struct iphdr *iph)
+void ip_send_check(struct iphdr *iph)
 {
 	iph->check = 0;
 	iph->check = ip_fast_csum((unsigned char *)iph, iph->ihl);
-- 
1.8.1.4

Re: [PATCH 11/21] ipv4: ip_output: remove inline marking of EXPORT_SYMBOL functions

From: David Miller <davem@davemloft.net>
Date: 2013-05-11 23:13:15

From: Denis Efremov <redacted>
Date: Thu,  9 May 2013 13:19:42 +0400
EXPORT_SYMBOL and inline directives are contradictory to each other.
The patch fixes this inconsistency.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Denis Efremov <redacted>
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help