staging: brcm80211: bugfix for 32 bit power pc platform
authorRoland Vossen <rvossen@broadcom.com>
Fri, 26 Aug 2011 13:19:36 +0000 (15:19 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 26 Aug 2011 17:53:12 +0000 (10:53 -0700)
commitb6f29edecd95f2eb4715e9d1778688eb1a44c83c
tree41c2b2b23012a1bca6edbd7bd7d79b802728e362
parentb5a44c8ad3378e88a5a14e1f74495c292a755527
staging: brcm80211: bugfix for 32 bit power pc platform

On some platforms resource_size_t == 64 but but unsigned long is only 32-bits.
In this particular problem, reported and fixed by Tony Breeds, a physical
address was truncated as a result.

Reported-by: Tony Breeds <tony@bakeyournoodle.com>
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmsmac/mac80211_if.c