Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 320525
b: refs/heads/master
c: 5a0d513
h: refs/heads/master
i:
  320523: b811193
v: v3
  • Loading branch information
stephen hemminger authored and David S. Miller committed Jul 30, 2012
1 parent 3aa417e commit 8bb6c91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0c7462a2351b4cc502f326aad7fedd04909928be
refs/heads/master: 5a0d513b622ee41e117fc37e26e27e8ef42e8dae
6 changes: 3 additions & 3 deletions trunk/net/bridge/br_sysfs_if.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ struct brport_attribute {
};

#define BRPORT_ATTR(_name,_mode,_show,_store) \
struct brport_attribute brport_attr_##_name = { \
const struct brport_attribute brport_attr_##_name = { \
.attr = {.name = __stringify(_name), \
.mode = _mode }, \
.show = _show, \
Expand Down Expand Up @@ -164,7 +164,7 @@ static BRPORT_ATTR(multicast_router, S_IRUGO | S_IWUSR, show_multicast_router,
store_multicast_router);
#endif

static struct brport_attribute *brport_attrs[] = {
static const struct brport_attribute *brport_attrs[] = {
&brport_attr_path_cost,
&brport_attr_priority,
&brport_attr_port_id,
Expand Down Expand Up @@ -241,7 +241,7 @@ const struct sysfs_ops brport_sysfs_ops = {
int br_sysfs_addif(struct net_bridge_port *p)
{
struct net_bridge *br = p->br;
struct brport_attribute **a;
const struct brport_attribute **a;
int err;

err = sysfs_create_link(&p->kobj, &br->dev->dev.kobj,
Expand Down

0 comments on commit 8bb6c91

Please sign in to comment.