public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] security_sk_free void return fixup
@ 2004-06-15 23:16 Chris Wright
  2004-06-16  2:53 ` Linus Torvalds
  0 siblings, 1 reply; 5+ messages in thread
From: Chris Wright @ 2004-06-15 23:16 UTC (permalink / raw)
  To: akpm, torvalds; +Cc: linux-kernel, Mika Kukkonen

  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,

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

end of thread, other threads:[~2004-06-16 12:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-15 23:16 [PATCH] security_sk_free void return fixup Chris Wright
2004-06-16  2:53 ` Linus Torvalds
2004-06-16  3:00   ` Andrew Morton
2004-06-16  3:04     ` Linus Torvalds
2004-06-16 12:11   ` Dick Streefland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox