diff options
author | Cyrille Pitchen <cyrille.pitchen@atmel.com> | 2014-12-11 05:15:54 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-12-11 14:51:59 -0500 |
commit | 51f8301485d701caab10e7e9b7f9d7866f2fe3cf (patch) | |
tree | bdd217a893b4bb084ce976a794b2deda38c2b664 /drivers/net/ethernet/cadence/macb.c | |
parent | efef793926f1baec7f2c8638c6d13576e6fe8997 (diff) |
net/macb: fix compilation warning for print_hex_dump() called with skb->mac_header
Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cadence/macb.c')
-rw-r--r-- | drivers/net/ethernet/cadence/macb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/cadence/macb.c b/drivers/net/ethernet/cadence/macb.c index 4d9fc0509af6..b6bc318b148e 100644 --- a/drivers/net/ethernet/cadence/macb.c +++ b/drivers/net/ethernet/cadence/macb.c | |||
@@ -776,7 +776,7 @@ static int gem_rx(struct macb *bp, int budget) | |||
776 | netdev_vdbg(bp->dev, "received skb of length %u, csum: %08x\n", | 776 | netdev_vdbg(bp->dev, "received skb of length %u, csum: %08x\n", |
777 | skb->len, skb->csum); | 777 | skb->len, skb->csum); |
778 | print_hex_dump(KERN_DEBUG, " mac: ", DUMP_PREFIX_ADDRESS, 16, 1, | 778 | print_hex_dump(KERN_DEBUG, " mac: ", DUMP_PREFIX_ADDRESS, 16, 1, |
779 | skb->mac_header, 16, true); | 779 | skb_mac_header(skb), 16, true); |
780 | print_hex_dump(KERN_DEBUG, "data: ", DUMP_PREFIX_ADDRESS, 16, 1, | 780 | print_hex_dump(KERN_DEBUG, "data: ", DUMP_PREFIX_ADDRESS, 16, 1, |
781 | skb->data, 32, true); | 781 | skb->data, 32, true); |
782 | #endif | 782 | #endif |