Re: [PATCH] mm: cma: Fix stub for cma_skip_dt_default_reserved_mem()

From: David Hildenbrand (Arm)

Date: Mon Feb 09 2026 - 03:13:43 EST


On 1/28/26 17:28, Mark Brown wrote:
The stub for cma_skip_dt_default_reserved_mem() is not inlined so
triggers build warnings:

In file included from /tmp/next/build/fs/proc/meminfo.c:18:
/tmp/next/build/include/linux/cma.h:68:13: warning: 'cma_skip_dt_default_reserved_mem' defined but not used [-Wunused-function]
68 | static bool cma_skip_dt_default_reserved_mem(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

which are fatal with -Werror.

Fixes: 26332ae848f08 ("of: reserved_mem: Allow reserved_mem framework detect "cma=" kernel param")
Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>

$ git show 26332ae848f08
fatal: ambiguous argument '26332ae848f08': unknown revision or path not in the working tree.

This is not upstream or against an mm tree. Against which tree is it?

--
Cheers,

David