Re: [PATCH net] net: hns3: add compatible handling for command HCLGE_OPC_PF_RST_DONE

From: David Miller
Date: Thu Nov 07 2019 - 00:47:46 EST


From: Huazhong Tan <tanhuazhong@xxxxxxxxxx>
Date: Thu, 7 Nov 2019 09:30:19 +0800

> Since old firmware does not support HCLGE_OPC_PF_RST_DONE, it will
> return -EOPNOTSUPP to the driver when received this command. So
> for this case, it should just print a warning and return success
> to the caller.
>
> Fixes: 72e2fb07997c ("net: hns3: clear reset interrupt status in hclge_irq_handle()")
> Signed-off-by: Huazhong Tan <tanhuazhong@xxxxxxxxxx>

Applied, thanks.