]> 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>
Mon, 19 Jan 2026 12:09:39 +0000 (13:09 +0100)
commit7f031777be027b23e51ff0dcef21505cc760c819
treeea407ec2198359be19565cd06ddef2ef969adbcd
parentd8b52fa40fc8128d0245ea9a2ba8c003506b7777
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