mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
mm-cma-allocation-trigger-fix
s/CONFIG_CMA_ALIGNMENT/0/, per Joonsoo Cc: Joonsoo Kim <[email protected]> Cc: Konrad Rzeszutek Wilk <[email protected]> Cc: Laura Abbott <[email protected]> Cc: Marek Szyprowski <[email protected]> Cc: Sasha Levin <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
1 parent
8325330b02
commit
875abdb6d4
1 file changed
+1
-1
+1
-1
@@ -103,7 +103,7 @@ static int cma_alloc_mem(struct cma *cma, int count)
|
||||
if (!mem)
|
||||
return -ENOMEM;
|
||||
|
||||
p = cma_alloc(cma, count, CONFIG_CMA_ALIGNMENT);
|
||||
p = cma_alloc(cma, count, 0);
|
||||
if (!p) {
|
||||
kfree(mem);
|
||||
return -ENOMEM;
|
||||
|
||||
Reference in new issue
Block a user