aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn
diff options
context:
space:
mode:
authorYunsheng Lin <linyunsheng@huawei.com>2018-12-26 19:51:46 +0800
committerDavid S. Miller <davem@davemloft.net>2018-12-28 21:24:56 -0800
commitf9fc54d313fab2834f44f516459cdc8ac91d797f (patch)
treea4fabcce30c4deaf8ea081be2544de3d5245678c /drivers/isdn
parentinclude/linux/phy/phy.h: fix minor kerneldoc errors (diff)
downloadlinux-dev-f9fc54d313fab2834f44f516459cdc8ac91d797f.tar.xz
linux-dev-f9fc54d313fab2834f44f516459cdc8ac91d797f.zip
ethtool: check the return value of get_regs_len
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@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn')
0 files changed, 0 insertions, 0 deletions