Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e893de1b authored by Vivien Didelot's avatar Vivien Didelot Committed by David S. Miller
Browse files

net: dsa: dsa_fastest_ageing_time return unsigned



The ageing time is defined as unsigned int, so make
dsa_fastest_ageing_time return an unsigned int instead of int.

Signed-off-by: default avatarVivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1aed1814
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -419,7 +419,7 @@ static int dsa_slave_vlan_filtering(struct net_device *dev,
	return 0;
}

static int dsa_fastest_ageing_time(struct dsa_switch *ds,
static unsigned int dsa_fastest_ageing_time(struct dsa_switch *ds,
					    unsigned int ageing_time)
{
	int i;