netlabel: fix the netlbl_catmap_setlong() dummy function
authorPaul Moore <pmoore@redhat.com>
Fri, 8 Aug 2014 00:55:21 +0000 (20:55 -0400)
committerPaul Moore <pmoore@redhat.com>
Fri, 8 Aug 2014 00:55:21 +0000 (20:55 -0400)
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>
include/net/netlabel.h

index a4fc39bb3e4fc1eedd7fc6be183be96a734d941e..7b5a300de7f589a534ac315f24a1151674aa54a4 100644 (file)
@@ -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;
 }