Make the struct name in sync with object id name.
Showing the changes to net/switchdev/switchdev.c (1 of 5 files). Show all
Unified · Split
| @@ -483,7 +483,7 @@ int call_switchdev_notifiers(unsigned long val, struct net_device *dev, · 482 unmodified lines | ||
| 483 | 483 | EXPORT_SYMBOL_GPL(call_switchdev_notifiers); |
| 484 | 484 | |
| 485 | 485 | struct switchdev_vlan_dump { |
| 486 | − struct switchdev_obj_vlan vlan; | |
| 486 | + struct switchdev_obj_port_vlan vlan; | |
| 487 | 487 | struct sk_buff *skb; |
| 488 | 488 | u32 filter_mask; |
| 489 | 489 | u16 flags; |
| @@ -523,7 +523,7 @@ static int switchdev_port_vlan_dump_put(struct switchdev_vlan_dump *dump) · 33 unmodified lines | ||
| 523 | 523 | |
| 524 | 524 | static int switchdev_port_vlan_dump_cb(void *obj) |
| 525 | 525 | { |
| 526 | − struct switchdev_obj_vlan *vlan = obj; | |
| 526 | + struct switchdev_obj_port_vlan *vlan = obj; | |
| 527 | 527 | struct switchdev_vlan_dump *dump = |
| 528 | 528 | container_of(vlan, struct switchdev_vlan_dump, vlan); |
| 529 | 529 | int err = 0; |
| @@ -704,7 +704,7 @@ static int switchdev_port_br_afspec(struct net_device *dev, · 174 unmodified lines | ||
| 704 | 704 | { |
| 705 | 705 | struct nlattr *attr; |
| 706 | 706 | struct bridge_vlan_info *vinfo; |
| 707 | − struct switchdev_obj_vlan vlan = { 0 }; | |
| 707 | + struct switchdev_obj_port_vlan vlan = { 0 }; | |
| 708 | 708 | int rem; |
| 709 | 709 | int err; |
| 710 | 710 | |