summaryrefslogtreecommitdiff
path: root/include/linux/mdio.h
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2021-01-17 22:10:44 +0300
committerJakub Kicinski <kuba@kernel.org>2021-01-19 07:57:48 +0300
commit99d518970c5a1901e83cdd4a0a6ff5a41ba56a56 (patch)
tree8443ad66a4588f3804339507e417e7265e0b3a41 /include/linux/mdio.h
parent7cfabe4f85a52a06943236a7747f1d868f3cac4b (diff)
downloadlinux-99d518970c5a1901e83cdd4a0a6ff5a41ba56a56.tar.xz
net: hns: fix variable used when DEBUG is defined
When DEBUG is defined this error occurs drivers/net/ethernet/hisilicon/hns/hns_enet.c:1505:36: error: ‘struct net_device’ has no member named ‘ae_handle’; did you mean ‘rx_handler’? assert(skb->queue_mapping < ndev->ae_handle->q_num); ^~~~~~~~~ ae_handle is an element of struct hns_nic_priv, so change ndev to priv. Signed-off-by: Tom Rix <trix@redhat.com> Link: https://lore.kernel.org/r/20210117191044.533725-1-trix@redhat.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/mdio.h')
0 files changed, 0 insertions, 0 deletions