OpenCloudOS-Kernel/drivers/net/ethernet/hisilicon/hns
Colin Ian King ea401685a2 net: hns: fix unsigned comparison to less than zero
Currently mskid is unsigned and hence comparisons with negative
error return values are always false. Fix this by making mskid an
int.

Fixes: f058e46855 ("net: hns: fix ICMP6 neighbor solicitation messages discard problem")
Addresses-Coverity: ("Operands don't affect result")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-04-06 18:29:14 -07:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hnae.c net: hns: Fix WARNING when remove HNS driver with SMMU enabled 2019-04-04 10:35:42 -07:00
hnae.h net: hns: Fix sparse: some warnings in HNS drivers 2019-04-04 10:35:42 -07:00
hns_ae_adapt.c net: hns: Fix use after free identified by SLUB debug 2019-01-04 13:33:57 -08:00
hns_dsaf_gmac.c net: hns: Add mac pcs config when enable|disable mac 2018-12-16 12:07:32 -08:00
hns_dsaf_gmac.h
hns_dsaf_mac.c net: hns: Fix sparse: some warnings in HNS drivers 2019-04-04 10:35:42 -07:00
hns_dsaf_mac.h net: hns: Fix sparse: some warnings in HNS drivers 2019-04-04 10:35:42 -07:00
hns_dsaf_main.c net: hns: fix unsigned comparison to less than zero 2019-04-06 18:29:14 -07:00
hns_dsaf_main.h net: hns: Fix sparse: some warnings in HNS drivers 2019-04-04 10:35:42 -07:00
hns_dsaf_misc.c net: hns: Fix sparse: some warnings in HNS drivers 2019-04-04 10:35:42 -07:00
hns_dsaf_misc.h net: hns: Add support of ACPI to HNS driver RoCE Reset function 2016-08-25 10:05:10 -04:00
hns_dsaf_ppe.c net: hns: Fix sparse: some warnings in HNS drivers 2019-04-04 10:35:42 -07:00
hns_dsaf_ppe.h net: hns: Fix sparse: some warnings in HNS drivers 2019-04-04 10:35:42 -07:00
hns_dsaf_rcb.c net: hns: Fix sparse: some warnings in HNS drivers 2019-04-04 10:35:42 -07:00
hns_dsaf_rcb.h net: hns: add the code for cleaning pkt in chip 2018-08-29 18:08:20 -07:00
hns_dsaf_reg.h net: hns: Fix sparse: some warnings in HNS drivers 2019-04-04 10:35:42 -07:00
hns_dsaf_xgmac.c net: hns: Fix probabilistic memory overwrite when HNS driver initialized 2019-04-04 10:35:42 -07:00
hns_dsaf_xgmac.h net: hns: fix to intimate the link-status change by adding LF/RF method 2016-11-10 11:45:37 -05:00
hns_enet.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-04-05 14:14:19 -07:00
hns_enet.h net: hns: Add self-adaptive interrupt coalesce support in hns driver 2017-08-03 09:21:14 -07:00
hns_ethtool.c net: hns: Restart autoneg need return failed when autoneg off 2019-01-27 23:01:56 -08:00