diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2019-07-24 04:36:15 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-24 11:46:03 -0700 |
commit | 92493a2f8a8d5a5bc1188fc71ef02df859ebd932 (patch) | |
tree | fee01d1e0b722ec30a27bd6a45517db11baffd27 /drivers/net/ethernet/aeroflex | |
parent | 8f75ec1a220e0a4b0f1abbc564987fe754cdc6f0 (diff) | |
download | linux-92493a2f8a8d5a5bc1188fc71ef02df859ebd932.tar.gz linux-92493a2f8a8d5a5bc1188fc71ef02df859ebd932.tar.bz2 linux-92493a2f8a8d5a5bc1188fc71ef02df859ebd932.zip |
Build fixes for skb_frag_size conversion
I missed a few places. One is in some ifdeffed code which will probably
never be re-enabled; the others are in drivers which can't currently be
compiled on x86.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/aeroflex')
-rw-r--r-- | drivers/net/ethernet/aeroflex/greth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/aeroflex/greth.c b/drivers/net/ethernet/aeroflex/greth.c index 010a2f48aea5..2a9f8643629c 100644 --- a/drivers/net/ethernet/aeroflex/greth.c +++ b/drivers/net/ethernet/aeroflex/greth.c @@ -110,7 +110,7 @@ static void greth_print_tx_packet(struct sk_buff *skb) print_hex_dump(KERN_DEBUG, "TX: ", DUMP_PREFIX_OFFSET, 16, 1, skb_frag_address(&skb_shinfo(skb)->frags[i]), - skb_shinfo(skb)->frags[i].size, true); + skb_frag_size(&skb_shinfo(skb)->frags[i]), true); } } |