Re: [PATCH] modpost: bypass module description test on vmlinux.o

From: Jeff Johnson
Date: Sat Jun 08 2024 - 09:58:49 EST


On 6/8/2024 1:25 AM, Nicolas Schier wrote:
> On Fri, Jun 07, 2024 at 02:42:43PM -0700, Jeff Johnson wrote:
>> When building modules with W=1, modpost will warn if a module is
>> missing a MODULE_DESCRIPTION. Unfortunately, it also performs this
>> test on vmlinux.o:
>>
>> WARNING: modpost: missing MODULE_DESCRIPTION() in vmlinux.o
>>
>> Relocate the logic so that the test is not performed on vmlinux.o.
>>
>> Fixes: 1fffe7a34c89 ("script: modpost: emit a warning when the description is missing")
>> Signed-off-by: Jeff Johnson <quic_jjohnson@xxxxxxxxxxx>
>> ---
>
> Hi Jeff,
>
> you're a few hours too late:
> https://lore.kernel.org/linux-kbuild/20240606183921.1128911-1-masahiroy@xxxxxxxxxx/
>

:)