[PATCH AUTOSEL 4.18 35/56] ice: Fix potential return of uninitialized value

2018-09-19 Thread Sasha Levin
From: Jesse Brandeburg [ Upstream commit dab0588fb616c1774bbf108eab1749dda4ac6942 ] In ice_vsi_setup_[tx|rx]_rings, err is uninitialized which can result in a garbage value return to the caller. Fix that. Signed-off-by: Jesse Brandeburg Signed-off-by: Anirudh Venkataramanan Tested-by: Tony

[PATCH AUTOSEL 4.18 35/56] ice: Fix potential return of uninitialized value

2018-09-19 Thread Sasha Levin
From: Jesse Brandeburg [ Upstream commit dab0588fb616c1774bbf108eab1749dda4ac6942 ] In ice_vsi_setup_[tx|rx]_rings, err is uninitialized which can result in a garbage value return to the caller. Fix that. Signed-off-by: Jesse Brandeburg Signed-off-by: Anirudh Venkataramanan Tested-by: Tony