diff mbox

[net-next] netprio_cgroup: make local table static

Message ID 20130410135605.0431e7aa@nehalam.linuxnetplumber.net
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Stephen Hemminger April 10, 2013, 8:56 p.m. UTC
Minor sparse warning

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

David Miller April 11, 2013, 3:24 a.m. UTC | #1
From: Stephen Hemminger <stephen@networkplumber.org>
Date: Wed, 10 Apr 2013 13:56:05 -0700

> Minor sparse warning
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Neil Horman April 11, 2013, 1:22 p.m. UTC | #2
On Wed, Apr 10, 2013 at 01:56:05PM -0700, Stephen Hemminger wrote:
> Minor sparse warning
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> 
> --- a/net/core/netprio_cgroup.c	2013-04-10 13:36:56.928429191 -0700
> +++ b/net/core/netprio_cgroup.c	2013-04-10 13:37:04.516330753 -0700
> @@ -247,7 +247,7 @@ static struct cftype ss_files[] = {
>  	{ }	/* terminate */
>  };
>  
> -struct cgroup_subsys net_prio_subsys = {
> +static struct cgroup_subsys net_prio_subsys = {
>  	.name		= "net_prio",
>  	.css_alloc	= cgrp_css_alloc,
>  	.css_online	= cgrp_css_online,
> 

Acked-by: Neil Horman <nhorman@tuxdriver.com>

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

--- a/net/core/netprio_cgroup.c	2013-04-10 13:36:56.928429191 -0700
+++ b/net/core/netprio_cgroup.c	2013-04-10 13:37:04.516330753 -0700
@@ -247,7 +247,7 @@  static struct cftype ss_files[] = {
 	{ }	/* terminate */
 };
 
-struct cgroup_subsys net_prio_subsys = {
+static struct cgroup_subsys net_prio_subsys = {
 	.name		= "net_prio",
 	.css_alloc	= cgrp_css_alloc,
 	.css_online	= cgrp_css_online,