Subject: Re: linux-next: build failure after merge of the drm-misc tree

From: Jani Nikula <[email-masked]>
Date: Mon, 12 Feb 2024 15:09:51 +0200

On Mon, 12 Feb 2024, Jani Nikula <[email-masked]> wrote:
> On Mon, 12 Feb 2024, Stephen Rothwell <[email-masked]> wrote:
>> Hi all,
>>
>> After merging the drm-misc tree, today's linux-next build (x86_64
>> allmodconfig) failed like this:
>>
>> drivers/gpu/drm/tests/drm_mm_test.c: In function 'drm_test_mm_debug':
>> drivers/gpu/drm/tests/drm_mm_test.c:191:32: error: implicit declaration of function 'drm_debug_printer'; did you mean 'drm_dbg_printer'? [-Werror=implicit-function-declaration]
>>   191 |         struct drm_printer p = drm_debug_printer(test->name);
>>       |                                ^~~~~~~~~~~~~~~~~
>>       |                                drm_dbg_printer
>> drivers/gpu/drm/tests/drm_mm_test.c:191:32: error: invalid initializer
>> cc1: all warnings being treated as errors
>>
>> Caused by commit
>>
>>   e154c4fc7bf2 ("drm: remove drm_debug_printer in favor of drm_dbg_printer")
>>
>> I have used the drm-misc tree from next-20240209 for today.
>
> Fix at [1].

Commit 826eafebf68b ("drm/tests: mm: Convert to drm_dbg_printer") in
drm-misc-next.

>
> BR,
> Jani.
>
>
> [1] https://lore.kernel.org/r/[email-masked]

-- 
Jani Nikula, Intel