[PATCH net-next] ice: Fix error return code in ice_init_hw()

2018-03-28 Thread Wei Yongjun
Fix to return error code ICE_ERR_NO_MEMORY from the alloc error handling case instead of 0, as done elsewhere in this function. Fixes: dc49c7723676 ("ice: Get MAC/PHY/link info and scheduler topology") Signed-off-by: Wei Yongjun --- drivers/net/ethernet/intel/ice/ice_common.c | 4 +++- 1 file ch

Re: [Intel-wired-lan] [PATCH net-next] ice: Fix error return code in ice_init_hw()

2018-03-29 Thread Venkataramanan, Anirudh
On Wed, 2018-03-28 at 12:50 +, Wei Yongjun wrote: > Fix to return error code ICE_ERR_NO_MEMORY from the alloc error > handling case instead of 0, as done elsewhere in this function. > > Fixes: dc49c7723676 ("ice: Get MAC/PHY/link info and scheduler > topology") > Signed-off-by: Wei Yongjun >