Re: [PATCH net] ethtool: check the return value of get_regs_len

From: David Miller
Date: Sat Dec 29 2018 - 00:25:58 EST


From: Yunsheng Lin <linyunsheng@xxxxxxxxxx>
Date: Wed, 26 Dec 2018 19:51:46 +0800

> The return type for get_regs_len in struct ethtool_ops is int,
> the hns3 driver may return error when failing to get the regs
> len by sending cmd to firmware.
>
> Signed-off-by: Yunsheng Lin <linyunsheng@xxxxxxxxxx>
> ---
> Note: There is not Fixes tags for this becuase the ops is added
> before the git is used.

Applied, thanks.