aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLuciano Coelho <[email protected]>2010-11-30 14:58:46 +0200
committerLuciano Coelho <[email protected]>2010-12-02 16:17:19 +0200
commit43a598d5e40485fcfbebe0700077e83afd803ed5 (patch)
tree323ade5d998f39a89e8d71e644660ea572eed1e2 /tools/perf/scripts/python
parentd60080ae06b98790036104f07fa897cfc151ce12 (diff)
wl12xx: fix illegal memset if debugfs is not enabled
If we try to reset the debugfs statistics when debugfs is not configured in the kernel, we're memset an illegal pointer, because it has never been allocated. So check whether we have debugfs enabled by looking into the wl->rootdir before trying to reset the fw_stats struct. Reported-by: Joerie de Gram <[email protected]> Signed-off-by: Luciano Coelho <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions