Re: [PATCH net-next] cxgb4: fix error return code in adap_init0()

2018-03-30 Thread David Miller
From: Wei Yongjun Date: Wed, 28 Mar 2018 12:51:09 + > Fix to return a negative error code from the hash filter init error > handling case instead of 0, as done elsewhere in this function. > > Fixes: 5c31254e35a8 ("cxgb4: initialize hash-filter configuration") > Signed-off-by: Wei Yongjun A

[PATCH net-next] cxgb4: fix error return code in adap_init0()

2018-03-28 Thread Wei Yongjun
Fix to return a negative error code from the hash filter init error handling case instead of 0, as done elsewhere in this function. Fixes: 5c31254e35a8 ("cxgb4: initialize hash-filter configuration") Signed-off-by: Wei Yongjun --- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 3 ++- 1 file c