staging: brcm80211: fix cast to pointer from integer
authorClemens Noss <cnoss@gmx.de>
Sun, 15 May 2011 20:45:30 +0000 (22:45 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 May 2011 20:31:30 +0000 (13:31 -0700)
commit84067de664ee6adba8c373e4298d755abd783b24
treefc4785fa31631dfc466e14a25dcf8bc1dbb0f9ea
parent7a9aea511a902d12b7a37e93b8c1eff24a0b2e48
staging: brcm80211: fix cast to pointer from integer

bcm_pktq_flush and related functions only ever get 0 or a pointer for
arg, so make it a pointer.

This might fix a crash on 64bit.

Signed-off-by: Clemens Noss <cnoss@gmx.de>
Acked-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmfmac/dhd_sdio.c
drivers/staging/brcm80211/brcmsmac/wlc_ampdu.c
drivers/staging/brcm80211/brcmsmac/wlc_main.c
drivers/staging/brcm80211/include/bcmutils.h
drivers/staging/brcm80211/util/bcmutils.c