]> git.baikalelectronics.ru Git - kernel.git/commit
mv643xx_eth.c: convert skb->end into skb_end_poitner(skb)
authorIsaku Yamahata <yamahata@valinux.co.jp>
Fri, 14 Jun 2013 08:58:33 +0000 (17:58 +0900)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Jun 2013 00:12:20 +0000 (17:12 -0700)
commita1166d7eb1d40dcf96f6604d1df65cb1ba584827
tree42721d7aba27a8bd74ac80d08c0b30925379c1f5
parentba976495ec62fdca5bce62346a2539d393c0d596
mv643xx_eth.c: convert skb->end into skb_end_poitner(skb)

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

Since arm or ppc 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 test only.

Cc: Simon Horman <horms@verge.net.au>
Cc: Lennert Buytenhek <buytenh@wantstofly.org>
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/mv643xx_eth.c