diff options
| author | Suzuki K. Poulose <[email protected]> | 2015-11-20 17:45:40 +0000 |
|---|---|---|
| committer | Catalin Marinas <[email protected]> | 2015-11-25 12:14:25 +0000 |
| commit | 7142392dcac240b37cce8a246225bb11213246cc (patch) | |
| tree | cfe5f8ae15b57016f2fd204ea39830c669b56eb1 /tools/perf/util/c++/clang-test.cpp | |
| parent | 1ec218373b8ebda821aec00bb156a9c94fad9cd4 (diff) | |
arm64: early_alloc: Fix check for allocation failure
In early_alloc we check if the memblock_alloc failed by checking
the virtual address of the result, which will never fail. This patch
fixes it to check the actual result for failure.
Acked-by: Will Deacon <[email protected]>
Signed-off-by: Suzuki K. Poulose <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang-test.cpp')
0 files changed, 0 insertions, 0 deletions