* [PATCH] net: fec: fix code identation
@ 2014-09-19 6:26 Fugang Duan
2014-09-22 18:52 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Fugang Duan @ 2014-09-19 6:26 UTC (permalink / raw)
To: davem; +Cc: netdev, dan.carpenter, b38611
There have extra identation before .skb_copy_to_linear_data_offset(),
this patch just remove the identation.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Fugang Duan <B38611@freescale.com>
---
drivers/net/ethernet/freescale/fec_main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freescale/fec_main.c
index 6e93336..bf3fd15 100644
--- a/drivers/net/ethernet/freescale/fec_main.c
+++ b/drivers/net/ethernet/freescale/fec_main.c
@@ -1415,7 +1415,7 @@ fec_enet_rx_queue(struct net_device *ndev, int budget, u16 queue_id)
skb_copy_to_linear_data(skb, data, (2 * ETH_ALEN));
if (vlan_packet_rcvd)
payload_offset = (2 * ETH_ALEN) + VLAN_HLEN;
- skb_copy_to_linear_data_offset(skb, (2 * ETH_ALEN),
+ skb_copy_to_linear_data_offset(skb, (2 * ETH_ALEN),
data + payload_offset,
pkt_len - 4 - (2 * ETH_ALEN));
--
1.7.8
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] net: fec: fix code identation
2014-09-19 6:26 [PATCH] net: fec: fix code identation Fugang Duan
@ 2014-09-22 18:52 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2014-09-22 18:52 UTC (permalink / raw)
To: b38611; +Cc: netdev, dan.carpenter
From: Fugang Duan <b38611@freescale.com>
Date: Fri, 19 Sep 2014 14:26:03 +0800
> There have extra identation before .skb_copy_to_linear_data_offset(),
> this patch just remove the identation.
>
> Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
> Signed-off-by: Fugang Duan <B38611@freescale.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-09-22 18:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-19 6:26 [PATCH] net: fec: fix code identation Fugang Duan
2014-09-22 18: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).