OSDN Git Service

pxa168_eth: convert skb->end into skb_end_pointer(skb)
authorIsaku Yamahata <yamahata@valinux.co.jp>
Fri, 14 Jun 2013 08:58:34 +0000 (17:58 +0900)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Jun 2013 00:12:21 +0000 (17:12 -0700)
commit511efbbbc8ff210dae7feaf263d7f855ea357cbe
treed8c9478e7018c87733633baf2aa25b353cf044ae
parent18f1d0541241855d928608ce6ce325e4cdad222d
pxa168_eth: convert skb->end into skb_end_pointer(skb)

The change set of 4305b541, "[SK_BUFF]: Convert skb->end to sk_buff_data_t"
converted skb->end from pointer type to sk_buff_data_t.
The pointed value should be accessed via skb_end_pointer().

Since arm arch doesn't define NET_SKBUFF_DATA_USES_OFFSET,
skb->end is effectively pointer. So it doesn't cause a real problem.
But this patch is good for consistency.

Found by inspection. Compile tested only.

Cc: Simon Horman <horms@verge.net.au>
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Reviewed-by: Simon Horman <horms@verge.net.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/pxa168_eth.c