diff options
author | Borislav Petkov <[email protected]> | 2015-10-19 11:17:46 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-10-21 11:10:56 +0200 |
commit | 6f3760570e26eefc214e641b6daeddb7106240bb (patch) | |
tree | 70e4a45ca8850771c6219ccd002e1ad284400fee /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | f56d55781c1ff5663874775d0672ba954fe5634c (diff) |
x86/setup/crash: Check memblock_reserve() retval
memblock_reserve() can fail but the crashkernel reservation code
doesn't check that and this can lead the user into believing
that the crashkernel region was actually reserved. Make sure we
check that return value and we exit early with a failure message
in the error case.
Signed-off-by: Borislav Petkov <[email protected]>
Reviewed-by: Dave Young <[email protected]>
Reviewed-by: Joerg Roedel <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Jiri Kosina <[email protected]>
Cc: Juergen Gross <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Mark Salter <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: WANG Chao <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions