airo: Fix array bounds warning when moving packet payload.
commitf47398409c140a48dd40faf75a18f7c93504a22e
authorDavid S. Miller <davem@davemloft.net>
Sat, 26 Nov 2011 20:35:10 +0000 (26 15:35 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Nov 2011 20:35:10 +0000 (26 15:35 -0500)
tree7d464439b88ef595b725a49a3f4e9e931b3a9c5a
parent51b7b1c34e195886e38ee93ff2a8a203745f897f
airo: Fix array bounds warning when moving packet payload.

drivers/net/wireless/airo.c: In function ‘encapsulate’:
drivers/net/wireless/airo.c:1421:15: warning: array subscript is above array bounds [-Warray-bounds]
drivers/net/wireless/airo.c: In function ‘decapsulate’:
drivers/net/wireless/airo.c:1509:16: warning: array subscript is above array bounds [-Warray-bounds]

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wireless/airo.c