Re: [PATCH net-next] hinic: uninitialized variable in hinic_api_cmd_init()

2017-08-24 Thread David Miller
From: Dan Carpenter Date: Thu, 24 Aug 2017 13:47:39 +0300 > We never set the error code in this function. > > Fixes: eabf0fad81d5 ("net-next/hinic: Initialize api cmd resources") > Signed-off-by: Dan Carpenter Applied, thanks.

Re: [PATCH net-next] hinic: uninitialized variable in hinic_api_cmd_init()

2017-08-24 Thread Aviad Krawczyk
On 8/24/2017 1:47 PM, Dan Carpenter wrote: > We never set the error code in this function. > > Fixes: eabf0fad81d5 ("net-next/hinic: Initialize api cmd resources") > Signed-off-by: Dan Carpenter > > diff --git a/drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c > b/drivers/net/ethernet/huawe

[PATCH net-next] hinic: uninitialized variable in hinic_api_cmd_init()

2017-08-24 Thread Dan Carpenter
We never set the error code in this function. Fixes: eabf0fad81d5 ("net-next/hinic: Initialize api cmd resources") Signed-off-by: Dan Carpenter diff --git a/drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c b/drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c index 8901801fe426..c40603a183