From: Vladimir Oltean Date: Mon, 15 Feb 2021 21:09:12 +0000 (+0200) Subject: net: bridge: fix br_vlan_filter_toggle stub when CONFIG_BRIDGE_VLAN_FILTERING=n X-Git-Tag: accepted/tizen/unified/20230118.172025~7901^2~44^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c97f47e3c198bf442ef63abdccc48f7c5f85945f;p=platform%2Fkernel%2Flinux-rpi.git net: bridge: fix br_vlan_filter_toggle stub when CONFIG_BRIDGE_VLAN_FILTERING=n The prototype of br_vlan_filter_toggle was updated to include a netlink extack, but the stub definition wasn't, which results in a build error when CONFIG_BRIDGE_VLAN_FILTERING=n. Fixes: 9e781401cbfc ("net: bridge: propagate extack through store_bridge_parm") Signed-off-by: Vladimir Oltean Signed-off-by: David S. Miller --- diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h index da71e71..d7d167e 100644 --- a/net/bridge/br_private.h +++ b/net/bridge/br_private.h @@ -1265,7 +1265,8 @@ static inline u16 br_get_pvid(const struct net_bridge_vlan_group *vg) } static inline int br_vlan_filter_toggle(struct net_bridge *br, - unsigned long val) + unsigned long val, + struct netlink_ext_ack *extack) { return -EOPNOTSUPP; }