aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/switchdev/switchdev.c')
-rw-r--r--net/switchdev/switchdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/switchdev/switchdev.c b/net/switchdev/switchdev.c
index 017801f9dbaa..8d40a7d31c99 100644
--- a/net/switchdev/switchdev.c
+++ b/net/switchdev/switchdev.c
@@ -826,7 +826,7 @@ static int switchdev_port_br_setlink_protinfo(struct net_device *dev,
826 int err; 826 int err;
827 827
828 err = nla_validate_nested(protinfo, IFLA_BRPORT_MAX, 828 err = nla_validate_nested(protinfo, IFLA_BRPORT_MAX,
829 switchdev_port_bridge_policy); 829 switchdev_port_bridge_policy, NULL);
830 if (err) 830 if (err)
831 return err; 831 return err;
832 832