summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2012-03-07 17:34:37 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-03-08 09:37:09 -0800
commit3a21138d3f76296ad070a3692d72eb529e7d5d2c (patch)
treefb4f461b4df1709ce06320256d76d7fdcc75c9d9 /tools/perf/scripts/python
parenta15d0b365e9bbf04dacb44fbe69d15f6594460e1 (diff)
staging: android: ram_console: fix crash in ram_console_late_init
If the persistent ram buffer is not available, ram_console_late_init would crash when dereferencing ram_console_zone. Return early if ram console was not initialized. CC: Android Kernel Team <kernel-team@android.com> Signed-off-by: Colin Cross <ccross@android.com> Signed-off-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions