Messages in this thread Patch in this message |  | | | Date | Tue, 15 Jun 2004 16:16:46 -0700 | | From | Chris Wright <> | | Subject | [PATCH] security_sk_free void return fixup |
| |
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@osdl.org> Signed-off-by: Chris Wright <chrisw@osdl.org>
===== 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |