aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorArend van Spriel <[email protected]>2012-12-05 15:25:55 +0100
committerJohn W. Linville <[email protected]>2012-12-10 15:33:05 -0500
commitd8df4901b351f5cac83cce78749e93215fa25ed9 (patch)
tree458555f50d4602e38083e05551af2aceb55dacc5 /tools/perf/scripts/python/bin
parentd9cb2596503d937ccf68b83d3aff1056765a6b1e (diff)
brcmsmac: fix uninitialized variable warning on arm architecture
Using gcc v4.7.2 gave following warning: CC [M] drivers/net/wireless/brcm80211/brcmsmac/aiutils.o brcmsmac/aiutils.c: In function 'ai_deviceremoved': brcmsmac/aiutils.c:733:9: error: 'w' may be used uninitialized in this function [-Werror=uninitialized] Inspection of the pci_read_config_dword() function showed it can return without modifying the output variable 'w' so this patch initializes it to 0. Reviewed-by: Pieter-Paul Giesberts <[email protected]> Reviewed-by: Piotr Haber <[email protected]> Reviewed-by: Hante Meuleman <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions