From: Stephen Hemminger <stephen@networkplumber.org>
To: David Miller <davem@davemloft.net>, Paul Moore <paul@paul-moore.com>
Cc: netdev@vger.kernel.org
Subject: [PATCH net-next] netlabel: add missing inline to stub
Date: Mon, 11 Aug 2014 08:22:35 -0700 [thread overview]
Message-ID: <20140811082235.15c800ae@haswell.linuxnetplumber.net> (raw)
This stub like all the nearby stubs should be inline.
This fixes a sparse warning about defined but never used.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
--- a/include/net/netlabel.h 2014-08-09 08:39:57.704179307 -0700
+++ b/include/net/netlabel.h 2014-08-11 07:54:01.058097452 -0700
@@ -524,10 +524,10 @@ static inline int netlbl_catmap_setrng(s
{
return 0;
}
-static int netlbl_catmap_setlong(struct netlbl_lsm_catmap **catmap,
- u32 offset,
- unsigned long bitmap,
- gfp_t flags)
+static inline int netlbl_catmap_setlong(struct netlbl_lsm_catmap **catmap,
+ u32 offset,
+ unsigned long bitmap,
+ gfp_t flags)
{
return 0;
}
next reply other threads:[~2014-08-11 15:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-11 15:22 Stephen Hemminger [this message]
2014-08-11 15:27 ` [PATCH net-next] netlabel: add missing inline to stub Paul Moore
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=20140811082235.15c800ae@haswell.linuxnetplumber.net \
--to=stephen@networkplumber.org \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=paul@paul-moore.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.