diff options
author | Suzuki K. Poulose <suzuki.poulose@arm.com> | 2015-11-20 18:45:40 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2015-11-25 13:14:25 +0100 |
commit | 7142392dcac240b37cce8a246225bb11213246cc (patch) | |
tree | cfe5f8ae15b57016f2fd204ea39830c669b56eb1 /include | |
parent | Linux 4.4-rc2 (diff) | |
download | linux-7142392dcac240b37cce8a246225bb11213246cc.tar.xz linux-7142392dcac240b37cce8a246225bb11213246cc.zip |
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 <will.deacon@arm.com>
Signed-off-by: Suzuki K. Poulose <suzuki.poulose@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions