]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
dma/pool: eliminate alloc_pages warning in atomic_pool_expand
authorDave Kleikamp <dave.kleikamp@oracle.com>
Tue, 2 Dec 2025 15:28:10 +0000 (09:28 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Dec 2025 13:03:38 +0000 (14:03 +0100)
commitd8fae0475d95858833efe7d7e59bebe6da972032
tree0d93d85b7b3109db365cb952ca60c3565700d649
parentbfef208916d724bb39554cba99679ef3ebcb1ac5
dma/pool: eliminate alloc_pages warning in atomic_pool_expand

[ Upstream commit 463d439becb81383f3a5a5d840800131f265a09c ]

atomic_pool_expand iteratively tries the allocation while decrementing
the page order. There is no need to issue a warning if an attempted
allocation fails.

Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Fixes: d7e673ec2c8e ("dma-pool: Only allocate from CMA when in same memory zone")
[mszyprow: fixed typo]
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Link: https://lore.kernel.org/r/20251202152810.142370-1-dave.kleikamp@oracle.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
kernel/dma/pool.c