Re: [PATCH][next] net: hns: fix unsigned comparison to less than zero

From: David Miller
Date: Sat Apr 06 2019 - 21:29:48 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Fri, 5 Apr 2019 14:59:16 +0100

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Currently mskid is unsigned and hence comparisons with negative
> error return values are always false. Fix this by making mskid an
> int.
>
> Fixes: f058e46855dc ("net: hns: fix ICMP6 neighbor solicitation messages discard problem")
> Addresses-Coverity: ("Operands don't affect result")
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Applied.