From: Chris Wright <chrisw@osdl.org>
To: akpm@osdl.org, torvalds@osdl.org
Cc: linux-kernel@vger.kernel.org, Mika Kukkonen <mika@osdl.org>
Subject: [PATCH] security_sk_free void return fixup
Date: Tue, 15 Jun 2004 16:16:46 -0700 [thread overview]
Message-ID: <20040615161646.S21045@build.pdx.osdl.net> (raw)
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,
next reply other threads:[~2004-06-15 23:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-15 23:16 Chris Wright [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040615161646.S21045@build.pdx.osdl.net \
--to=chrisw@osdl.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mika@osdl.org \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®