[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111208114555.GA1246@hmsreliant.think-freely.org>
Date: Thu, 8 Dec 2011 06:45:55 -0500
From: Neil Horman <nhorman@...driver.com>
To: John Fastabend <john.r.fastabend@...el.com>
Cc: davem@...emloft.net, netdev@...r.kernel.org
Subject: Re: [net-next PATCH] net: netprio_cgroup: make net_prio_subsys static
On Wed, Dec 07, 2011 at 09:17:17PM -0800, John Fastabend wrote:
> net_prio_subsys can be made static this removes the sparse
> warning it was throwing.
>
> Signed-off-by: John Fastabend <john.r.fastabend@...el.com>
> ---
>
> net/core/netprio_cgroup.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/net/core/netprio_cgroup.c b/net/core/netprio_cgroup.c
> index 3a9fd48..ea16c8f 100644
> --- a/net/core/netprio_cgroup.c
> +++ b/net/core/netprio_cgroup.c
> @@ -28,7 +28,7 @@ static struct cgroup_subsys_state *cgrp_create(struct cgroup_subsys *ss,
> static void cgrp_destroy(struct cgroup_subsys *ss, struct cgroup *cgrp);
> static int cgrp_populate(struct cgroup_subsys *ss, struct cgroup *cgrp);
>
> -struct cgroup_subsys net_prio_subsys = {
> +static struct cgroup_subsys net_prio_subsys = {
> .name = "net_prio",
> .create = cgrp_create,
> .destroy = cgrp_destroy,
>
>
Thanks John.
Acked-by: Neil Horman <nhorman@...driver.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