[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1516624.TGbEHg5hL8@sifl>
Date: Mon, 11 Aug 2014 11:27:15 -0400
From: Paul Moore <paul@...l-moore.com>
To: Stephen Hemminger <stephen@...workplumber.org>
Cc: David Miller <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: [PATCH net-next] netlabel: add missing inline to stub
On Monday, August 11, 2014 08:22:35 AM Stephen Hemminger wrote:
> 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@...workplumber.org>
FYI, the same patch was sent to Linus last week.
> --- 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;
> }
--
paul moore
www.paul-moore.com
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists