netlabel: fix the netlbl_catmap_setlong() dummy function
Subsystems (3)
PATCH 1/1 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 <[email protected]>
Signed-off-by Paul Moore <[email protected]>
--- include/net/netlabel.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
include/net/netlabel.h +4 -4
@@ -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 ; }