Message ID | 20210313093939.15179-3-kurt@kmk-computers.de |
---|---|
State | New |
Headers | show |
Series | net: dsa: hellcreek: Add support for dumping tables | expand |
On 3/13/2021 1:39 AM, Kurt Kanzenbach wrote: > hellcreek_select_vlan() takes a boolean instead of an integer. > So, use false accordingly. > > Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de> > Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> -- Florian
diff --git a/drivers/net/dsa/hirschmann/hellcreek.c b/drivers/net/dsa/hirschmann/hellcreek.c index 4a14760e2680..edac39462a07 100644 --- a/drivers/net/dsa/hirschmann/hellcreek.c +++ b/drivers/net/dsa/hirschmann/hellcreek.c @@ -433,7 +433,7 @@ static void hellcreek_unapply_vlan(struct hellcreek *hellcreek, int port, mutex_lock(&hellcreek->reg_lock); - hellcreek_select_vlan(hellcreek, vid, 0); + hellcreek_select_vlan(hellcreek, vid, false); /* Setup port vlan membership */ hellcreek_select_vlan_params(hellcreek, port, &shift, &mask);