From: Yunsheng Lin <linyunsh...@huawei.com> 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 <linyunsh...@huawei.com> > --- > Note: There is not Fixes tags for this becuase the ops is added > before the git is used. Applied, thanks.