summaryrefslogtreecommitdiffstats
path: root/include/net/netlabel.h
diff options
context:
space:
mode:
authorPaul Moore <pmoore@redhat.com>2014-08-07 20:55:21 -0400
committerPaul Moore <pmoore@redhat.com>2014-08-07 20:55:21 -0400
commitbc7e6edbbc0fb6aca3b1ee19d634d057d9c52c72 (patch)
tree925eeb7e22a7752513b5f186ff13b6715444820a /include/net/netlabel.h
parent4fbe63d1c773cceef3fe1f6ed0c9c268f4f24760 (diff)
downloadlinux-0-day-bc7e6edbbc0fb6aca3b1ee19d634d057d9c52c72.tar.gz
linux-0-day-bc7e6edbbc0fb6aca3b1ee19d634d057d9c52c72.tar.xz
netlabel: fix the netlbl_catmap_setlong() dummy function
When I added the netlbl_catmap_setlong() function I mistakenly forgot to mark the associated dummy function as an inline. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'include/net/netlabel.h')
-rw-r--r--include/net/netlabel.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/net/netlabel.h b/include/net/netlabel.h
index a4fc39bb3e4fc..7b5a300de7f58 100644
--- a/include/net/netlabel.h
+++ b/include/net/netlabel.h
@@ -524,10 +524,10 @@ static inline int netlbl_catmap_setrng(struct netlbl_lsm_catmap **catmap,
{
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;
}