Re: [PATCH net-next] net: vlan: Fixed signedness in vlan_group_prealloc_vid()
From: David Miller
Date: Mon Sep 28 2020 - 03:52:05 EST
From: Florian Fainelli <f.fainelli@xxxxxxxxx>
Date: Sun, 27 Sep 2020 19:31:50 -0700
> After commit d0186842ec5f ("net: vlan: Avoid using BUG() in
> vlan_proto_idx()"), vlan_proto_idx() was changed to return a signed
> integer, however one of its called: vlan_group_prealloc_vid() was still
> using an unsigned integer for its return value, fix that.
>
> Fixes: d0186842ec5f ("net: vlan: Avoid using BUG() in vlan_proto_idx()")
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
Applied, thanks Florian.