Searched hist:"99 d518970c5a1901e83cdd4a0a6ff5a41ba56a56" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_enet.c | diff 99d518970c5a1901e83cdd4a0a6ff5a41ba56a56 Sun Jan 17 13:10:44 CST 2021 Tom Rix <trix@redhat.com> 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>
|