mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 22:21:21 +00:00
switchdev: rename switchdev_obj_vlan to switchdev_obj_port_vlan
Make the struct name in sync with object id name. Suggested-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Acked-by: Scott Feldman <sfeldma@gmail.com> Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1f86839874
commit
8f24f3095d
5 changed files with 12 additions and 12 deletions
|
@ -483,7 +483,7 @@ int call_switchdev_notifiers(unsigned long val, struct net_device *dev,
|
|||
EXPORT_SYMBOL_GPL(call_switchdev_notifiers);
|
||||
|
||||
struct switchdev_vlan_dump {
|
||||
struct switchdev_obj_vlan vlan;
|
||||
struct switchdev_obj_port_vlan vlan;
|
||||
struct sk_buff *skb;
|
||||
u32 filter_mask;
|
||||
u16 flags;
|
||||
|
@ -523,7 +523,7 @@ static int switchdev_port_vlan_dump_put(struct switchdev_vlan_dump *dump)
|
|||
|
||||
static int switchdev_port_vlan_dump_cb(void *obj)
|
||||
{
|
||||
struct switchdev_obj_vlan *vlan = obj;
|
||||
struct switchdev_obj_port_vlan *vlan = obj;
|
||||
struct switchdev_vlan_dump *dump =
|
||||
container_of(vlan, struct switchdev_vlan_dump, vlan);
|
||||
int err = 0;
|
||||
|
@ -704,7 +704,7 @@ static int switchdev_port_br_afspec(struct net_device *dev,
|
|||
{
|
||||
struct nlattr *attr;
|
||||
struct bridge_vlan_info *vinfo;
|
||||
struct switchdev_obj_vlan vlan = { 0 };
|
||||
struct switchdev_obj_port_vlan vlan = { 0 };
|
||||
int rem;
|
||||
int err;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue