* [PATCH 1/1] net/macb: fix compilation warning for print_hex_dump() called with skb->mac_header
@ 2014-12-11 10:15 Cyrille Pitchen
2014-12-11 14:39 ` Sergei Shtylyov
2014-12-11 19:52 ` David Miller
0 siblings, 2 replies; 3+ messages in thread
From: Cyrille Pitchen @ 2014-12-11 10:15 UTC (permalink / raw)
To: linux-arm-kernel
Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
---
drivers/net/ethernet/cadence/macb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/cadence/macb.c b/drivers/net/ethernet/cadence/macb.c
index 41113e5..9ddc9bf 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)
netdev_vdbg(bp->dev, "received skb of length %u, csum: %08x\n",
skb->len, skb->csum);
print_hex_dump(KERN_DEBUG, " mac: ", DUMP_PREFIX_ADDRESS, 16, 1,
- skb->mac_header, 16, true);
+ skb_mac_header(skb), 16, true);
print_hex_dump(KERN_DEBUG, "data: ", DUMP_PREFIX_ADDRESS, 16, 1,
skb->data, 32, true);
#endif
--
1.8.2.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 1/1] net/macb: fix compilation warning for print_hex_dump() called with skb->mac_header
2014-12-11 10:15 [PATCH 1/1] net/macb: fix compilation warning for print_hex_dump() called with skb->mac_header Cyrille Pitchen
@ 2014-12-11 14:39 ` Sergei Shtylyov
2014-12-11 19:52 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: Sergei Shtylyov @ 2014-12-11 14:39 UTC (permalink / raw)
To: linux-arm-kernel
Hello.
On 12/11/2014 1:15 PM, Cyrille Pitchen wrote:
Citing the warning here would be a good idea.
> Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
WBR, Sergei
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/1] net/macb: fix compilation warning for print_hex_dump() called with skb->mac_header
2014-12-11 10:15 [PATCH 1/1] net/macb: fix compilation warning for print_hex_dump() called with skb->mac_header Cyrille Pitchen
2014-12-11 14:39 ` Sergei Shtylyov
@ 2014-12-11 19:52 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2014-12-11 19:52 UTC (permalink / raw)
To: linux-arm-kernel
From: Cyrille Pitchen <cyrille.pitchen@atmel.com>
Date: Thu, 11 Dec 2014 11:15:54 +0100
> Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-12-11 19:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-11 10:15 [PATCH 1/1] net/macb: fix compilation warning for print_hex_dump() called with skb->mac_header Cyrille Pitchen
2014-12-11 14:39 ` Sergei Shtylyov
2014-12-11 19:52 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).