kernel-fxtec-pro1x/drivers/net/ethernet/cavium
Tianjia Zhang 78b41e3b0e liquidio: Fix wrong return value in cn23xx_get_pf_num()
[ Upstream commit aa027850a292ea65524b8fab83eb91a124ad362c ]

On an error exit path, a negative error code should be returned
instead of a positive return value.

Fixes: 0c45d7fe12 ("liquidio: fix use of pf in pass-through mode in a virtual machine")
Cc: Rick Farrington <ricardo.farrington@cavium.com>
Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-08-19 08:15:01 +02:00
..
common net: cavium: fix driver name 2019-09-10 10:33:48 +01:00
liquidio liquidio: Fix wrong return value in cn23xx_get_pf_num() 2020-08-19 08:15:01 +02:00
octeon net: octeon: mgmt: Repair filling of RX ring 2020-06-25 15:33:10 +02:00
thunder net: thunderx: use spin_lock_bh in nicvf_set_rx_mode_task() 2020-08-11 15:32:35 +02:00
Kconfig Merge ra.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux 2018-07-20 21:17:12 -07:00
Makefile net: add support for Cavium PTP coprocessor 2018-01-16 14:31:14 -05:00