Re: [PATCH] mm: cma: Fix stub for cma_skip_dt_default_reserved_mem()
From: Marek Szyprowski
Date: Mon Feb 09 2026 - 05:04:53 EST
On 09.02.2026 09:11, David Hildenbrand (Arm) wrote:
> 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?
The fix for this issue has been squashed into commit 0fd17e598333 ("of:
reserved_mem: Allow reserved_mem framework detect "cma=" kernel param")
and merged to v6.19-rc8, so the above fix is not longer needed.
Best regards
--
Marek Szyprowski, PhD
Samsung R&D Institute Poland