Re: [PATCH v2 3/3] module: Add compile-time check for embedded NUL characters
Matthieu Baerts <[email protected]> Fri, 19 Dec 2025 15:59:48 +0100
| Newsgroups | org.kernel.vger.linux-sparse,org.kernel.vger.linux-hardening,org.kernel.vger.linux-kernel,org.kernel.vger.linux-media,org.kernel.vger.linux-modules |
|---|---|
| Organization | NGI0 Core |
| Message-ID | <[email protected]> |
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/[email protected]/ 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.