Skip to content
Commit c612fe78 authored by Vladimir Oltean's avatar Vladimir Oltean Committed by Jakub Kicinski
Browse files

net: marvell: prestera: fix uninitialized vid in prestera_port_vlans_add



prestera_bridge_port_vlan_add should have been called with vlan->vid,
however this was masked by the presence of the local vid variable and I
did not notice the build warning.

Reported-by: default avatarkernel test robot <lkp@intel.com>
Fixes: b7a9e0da

 ("net: switchdev: remove vid_begin -> vid_end range from VLAN objects")
Signed-off-by: default avatarVladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Reviewed-by: default avatarTaras Chornyi <tchornyi@marvell.com>
Link: https://lore.kernel.org/r/20210114083556.2274440-1-olteanv@gmail.com
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent a5317f3b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment