History

switchdev: rename switchdev_obj_vlan to switchdev_obj_port_vlan

Make the struct name in sync with object id name.

Jiri Pirko committed 11 years ago

Commit 8f24f301 parent 1f868395 files · +12 −12Browse files

Showing the changes to net/switchdev/switchdev.c (1 of 5 files). Show all

Unified · Split

net/switchdev/switchdev.c+3−3
@@ -483,7 +483,7 @@ int call_switchdev_notifiers(unsigned long val, struct net_device *dev, · 482 unmodified lines
483483 EXPORT_SYMBOL_GPL(call_switchdev_notifiers);
484484
485485 struct switchdev_vlan_dump {
486− struct switchdev_obj_vlan vlan;
486+ struct switchdev_obj_port_vlan vlan;
487487 struct sk_buff *skb;
488488 u32 filter_mask;
489489 u16 flags;
@@ -523,7 +523,7 @@ static int switchdev_port_vlan_dump_put(struct switchdev_vlan_dump *dump) · 33 unmodified lines
523523
524524 static int switchdev_port_vlan_dump_cb(void *obj)
525525 {
526− struct switchdev_obj_vlan *vlan = obj;
526+ struct switchdev_obj_port_vlan *vlan = obj;
527527 struct switchdev_vlan_dump *dump =
528528 container_of(vlan, struct switchdev_vlan_dump, vlan);
529529 int err = 0;
@@ -704,7 +704,7 @@ static int switchdev_port_br_afspec(struct net_device *dev, · 174 unmodified lines
704704 {
705705 struct nlattr *attr;
706706 struct bridge_vlan_info *vinfo;
707− struct switchdev_obj_vlan vlan = { 0 };
707+ struct switchdev_obj_port_vlan vlan = { 0 };
708708 int rem;
709709 int err;
710710