linux_dsm_epyc7002/drivers/net/ethernet
Colin Ian King d4ee7f195e net: mvpp2: cls: fix less than zero check on a u32 variable
The signed return from the call to mvpp2_cls_c2_port_flow_index is being
assigned to the u32 variable c2.index and then checked for a negative
error condition which is always going to be false. Fix this by assigning
the return to the int variable index and checking this instead.

Addresses-Coverity: ("Unsigned compared against 0")
Fixes: 90b509b39a ("net: mvpp2: cls: Add Classification offload support")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-05-07 12:14:29 -07:00
..
3com
8390
adaptec
aeroflex
agere
alacritech
allwinner
alteon
altera
amazon net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
amd amd-xgbe: Mark expected switch fall-throughs 2019-04-26 11:28:47 -04:00
apm
apple
aquantia net: aquantia: Make aq_ndev_driver_name static 2019-05-05 10:48:45 -07:00
arc
atheros net: atheros: fix spelling mistake "underun" -> "underrun" 2019-04-23 18:46:27 -07:00
aurora drivers: net: aurora: use netdev_xmit_more helper 2019-04-01 18:35:02 -07:00
broadcom bnxt_en: Add device IDs 0x1806 and 0x1752 for 57500 devices. 2019-05-05 21:42:17 -07:00
brocade
cadence net: macb: support of_get_mac_address new ERR_PTR error 2019-05-05 21:47:07 -07:00
calxeda
cavium Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-04-17 11:26:25 -07:00
chelsio cxgb4: Delete all hash and TCAM filters before resource cleanup 2019-04-27 22:25:37 -04:00
cirrus
cisco net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
cortina net: gemini: remove unnecessary assert 2019-04-18 17:06:15 -07:00
davicom
dec
dlink
emulex net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
ezchip
faraday
freescale Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-04-17 11:26:25 -07:00
fujitsu
hisilicon net: hns3: use devm_kcalloc when allocating desc_cb 2019-05-07 10:37:14 -07:00
hp
huawei net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
i825xx
ibm ibmvnic: Add device identification to requested IRQs 2019-04-27 20:20:06 -04:00
intel Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue 2019-05-05 21:40:23 -07:00
marvell net: mvpp2: cls: fix less than zero check on a u32 variable 2019-05-07 12:14:29 -07:00
mediatek net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
mellanox mlxsw: spectrum: Implement loopback ethtool feature 2019-05-05 21:56:57 -07:00
micrel net: ks8851: Deduplicate register macros 2019-03-20 12:43:52 -07:00
microchip
moxa
mscc ocelot: Clean up stats update deferred work 2019-04-16 21:43:53 -07:00
myricom
natsemi
neterion vxge: fix return of a free'd memblock on a failed dma mapping 2019-04-12 16:54:41 -07:00
netronome nfp: flower: add qos offload stats request and reply 2019-05-05 21:49:24 -07:00
ni
nuvoton
nvidia
nxp
oki-semi
packetengines
pasemi net: pasemi: remove set but not used variable 'cpyhdr' 2019-04-04 17:36:23 -07:00
qlogic Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-04-17 11:26:25 -07:00
qualcomm
rdc net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
realtek r8169: add rtl8168g_set_pause_thresholds 2019-05-05 21:58:36 -07:00
renesas ravb: Avoid unsupported internal delay mode for R-Car E3/D3 2019-04-23 18:43:49 -07:00
rocker ipv4: Flag fib_info with a fib_nh using IPv6 gateway 2019-04-08 15:22:41 -07:00
samsung
seeq
sfc sfc: mcdi_port: Mark expected switch fall-through 2019-05-01 11:23:58 -04:00
sgi
silan
sis
smsc
socionext net: socionext: replace napi_alloc_frag with the netdev variant on init 2019-04-23 19:39:16 -07:00
stmicro Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-05-02 22:14:21 -04:00
sun net: remove 'fallback' argument from dev->ndo_select_queue() 2019-03-20 11:18:55 -07:00
synopsys net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
tehuti
ti net: davinci: support of_get_mac_address new ERR_PTR error 2019-05-05 21:47:07 -07:00
toshiba
tundra
via
wiznet
xilinx net: ll_temac: Make some functions static 2019-05-05 10:48:45 -07:00
xircom
xscale
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c
jme.c
jme.h
Kconfig
korina.c
lantiq_etop.c
lantiq_xrx200.c
Makefile
netx-eth.c