diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2021-02-15 23:09:11 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-02-15 13:15:10 -0800 |
commit | 419dfaed7ccc9533b3f4d88eb6f4997b41f8a4fc (patch) | |
tree | e8328795d10457da1576589b1d5d9d1318b7bd69 /net | |
parent | 1f778d500df3c0032a8ee1cd868ba60bd501b26b (diff) | |
download | linux-419dfaed7ccc9533b3f4d88eb6f4997b41f8a4fc.tar.bz2 |
net: bridge: fix switchdev_port_attr_set stub when CONFIG_SWITCHDEV=n
The switchdev_port_attr_set function prototype was updated only for the
case where CONFIG_SWITCHDEV=y|m, leaving a prototype mismatch with the
stub definition for the disabled case. This results in a build error, so
update that function too.
Fixes: dcbdf1350e33 ("net: bridge: propagate extack through switchdev_port_attr_set")
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions