[PATCH] security_sk_free void return fixup

From: Chris Wright
Date: Tue Jun 15 2004 - 18:18:05 EST


CHECK net/core/sock.c
include/linux/security.h:2636:39: warning: return expression in void function
CC net/core/sock.o

From: Mika Kukkonen <mika@xxxxxxxx>
Signed-off-by: Chris Wright <chrisw@xxxxxxxx>

===== include/linux/security.h 1.35 vs edited =====
--- 1.35/include/linux/security.h 2004-06-14 08:56:50 -07:00
+++ edited/include/linux/security.h 2004-06-15 16:14:56 -07:00
@@ -2633,7 +2633,7 @@

static inline void security_sk_free(struct sock *sk)
{
- return security_ops->sk_free_security(sk);
+ security_ops->sk_free_security(sk);
}
#else /* CONFIG_SECURITY_NETWORK */
static inline int security_unix_stream_connect(struct socket * sock,
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/