Re: [PATCH v2 3/3] module: Add compile-time check for embedded NUL characters
From: Matthieu Baerts
Date: Fri Dec 19 2025 - 09:59:57 EST
Hi Dan, Daniel
On 19/12/2025 13:44, Dan Carpenter wrote:
> On Fri, Dec 19, 2025 at 01:29:21PM +0100, Matthieu Baerts wrote:
>> net/mptcp/crypto_test.c:72:1: error: bad integer constant expression
>> net/mptcp/crypto_test.c:72:1: error: static assertion failed: "MODULE_INFO(license, ...) contains embedded NUL byte"
>> net/mptcp/crypto_test.c:73:1: error: bad integer constant expression
>> net/mptcp/crypto_test.c:73:1: error: static assertion failed: "MODULE_INFO(description, ...) contains embedded NUL byte"
>
> There was a fix for that posted. Let me ping them to see if anyone is
> planning to send an actual patch.
>
> https://lore.kernel.org/all/20251211175101.GA3405942@xxxxxxxxxx/
Thank you both for your reply! I didn't think about looking at the v1.
I confirm that Sami's patch silences the errors on my side. Thanks!
Cheers,
Matt
--
Sponsored by the NGI0 Core fund.