[PATCH] arm64: early_alloc: Fix check for allocation failure

Catalin Marinas catalin.marinas at arm.com
Wed Nov 25 04:14:50 PST 2015


On Fri, Nov 20, 2015 at 05:45:40PM +0000, Suzuki K. Poulose wrote:
> 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.
> 
> Cc: Catalin Marinas <catalin.marinas at arm.com>
> Cc: Will Deacon <will.deacon at arm.com>
> Signed-off-by: Suzuki K. Poulose <suzuki.poulose at arm.com>

Applied. Thanks.

-- 
Catalin



More information about the linux-arm-kernel mailing list