summaryrefslogtreecommitdiffstats
path: root/drivers/vhost
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2021-01-17 20:10:44 +0100
committerJakub Kicinski <kuba@kernel.org>2021-01-19 05:57:48 +0100
commit99d518970c5a1901e83cdd4a0a6ff5a41ba56a56 (patch)
tree8443ad66a4588f3804339507e417e7265e0b3a41 /drivers/vhost
parentarcnet: fix macro name when DEBUG is defined (diff)
downloadlinux-99d518970c5a1901e83cdd4a0a6ff5a41ba56a56.tar.xz
linux-99d518970c5a1901e83cdd4a0a6ff5a41ba56a56.zip
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 'drivers/vhost')
0 files changed, 0 insertions, 0 deletions