aboutsummaryrefslogtreecommitdiffstats
path: root/net/bridge/br_sysfs_br.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/bridge/br_sysfs_br.c')
-rw-r--r--net/bridge/br_sysfs_br.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/br_sysfs_br.c b/net/bridge/br_sysfs_br.c
index c236c0e43984..766fd7fb0295 100644
--- a/net/bridge/br_sysfs_br.c
+++ b/net/bridge/br_sysfs_br.c
@@ -297,7 +297,7 @@ static ssize_t store_group_addr(struct device *d,
297 const char *buf, size_t len) 297 const char *buf, size_t len)
298{ 298{
299 struct net_bridge *br = to_bridge(d); 299 struct net_bridge *br = to_bridge(d);
300 unsigned new_addr[6]; 300 unsigned int new_addr[6];
301 int i; 301 int i;
302 302
303 if (!capable(CAP_NET_ADMIN)) 303 if (!capable(CAP_NET_ADMIN))