Thread (2 messages) flat view 2 messages, 2 authors, 2014-08-11
STALE4380d

[PATCH net-next] netlabel: add missing inline to stub

From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2014-08-11 15:22:40

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;
 }
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help