Staging: ath6kl: Fix pointer casts on 64-bit architectures
commit5f2e87738627d6c0faa50d9f401da0b1571e439c
authorBen Hutchings <ben@decadent.org.uk>
Sun, 7 Nov 2010 17:19:39 +0000 (7 17:19 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 10 Nov 2010 00:49:02 +0000 (9 16:49 -0800)
treefbaa8843455055a647261fda4bdabfbd2f143c7c
parent4d774a7fed886522f55119ef524cbe3c90bbdc38
Staging: ath6kl: Fix pointer casts on 64-bit architectures

Remove unnecessary cast of firmware base address to integer before
adding an offset.

Fix direct use of sk_buff::network_header which is an offset rather
than a pointer on 64-bit architectures.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/ath6kl/os/linux/ar6000_drv.c