1
0
Fork 0
alistair23-linux/drivers/net/ethernet/intel
Wei Yongjun 8d5ce7e06f iavf: fix error return code in iavf_init_get_resources()
[ Upstream commit 753f3884f2 ]

Fix to return negative error code -ENOMEM from the error handling
case instead of 0, as done elsewhere in this function.

Fixes: b66c7bc1cd ("iavf: Refactor init state machine")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-08-19 08:16:09 +02:00
..
e1000 e1000: Distribute switch variables for initialization 2020-06-22 09:30:58 +02:00
e1000e e1000e: Do not wake up the system via WOL if device wakeup is disabled 2020-06-24 17:50:52 +02:00
fm10k fm10k: use a local variable for the frag pointer 2019-09-09 10:08:38 -07:00
i40e i40e: protect ring accesses with READ- and WRITE_ONCE 2020-07-16 08:16:34 +02:00
iavf iavf: fix error return code in iavf_init_get_resources() 2020-08-19 08:16:09 +02:00
ice ice: fix potential double free in probe unrolling 2020-06-22 09:31:10 +02:00
igb igb: reinit_locked() should be called with rtnl_lock 2020-08-11 15:33:38 +02:00
igbvf net: Use skb accessors in network drivers 2019-07-22 20:47:56 -07:00
igc igb/igc: use ktime accessors for skb->tstamp 2019-11-08 16:10:51 -08:00
ixgb net: Use skb accessors in network drivers 2019-07-22 20:47:56 -07:00
ixgbe ixgbe: protect ring accesses with READ- and WRITE_ONCE 2020-07-16 08:16:34 +02:00
ixgbevf ixgbevf: Remove limit of 10 entries for unicast filter list 2020-02-05 21:22:44 +00:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile igc: Add skeletal frame for Intel(R) 2.5G Ethernet Controller support 2018-10-17 12:14:54 -07:00
e100.c intel: correct return from set features callback 2019-03-19 14:18:49 -07:00