Re: [PATCH net-next] net: hns3: Fix for warning uninitialized symbol hw_err_lst3

From: David Miller
Date: Wed Oct 24 2018 - 17:26:19 EST


From: Salil Mehta <salil.mehta@xxxxxxxxxx>
Date: Wed, 24 Oct 2018 15:32:18 +0100

> From: Shiju Jose <shiju.jose@xxxxxxxxxx>
>
> This patch fixes the smatch warning,
>
> drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c:700
> hclge_log_and_clear_ppp_error() error: uninitialized symbol
> 'hw_err_lst3'
>
> Link: https://lkml.org/lkml/2018/10/23/430
>
> Fixes: da2d072a9ea7 ("net: hns3: Add enable and process hw errors from PPP")
> Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> Signed-off-by: Shiju Jose <shiju.jose@xxxxxxxxxx>
> Signed-off-by: Salil Mehta <salil.mehta@xxxxxxxxxx>

Applied.