Re: [PATCH v2 3/3] module: Add compile-time check for embedded NUL characters
Chris Li <[email protected]> Fri, 16 Jan 2026 15:35:06 -0800
| 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 |
|---|---|
| Message-ID | <CACePvbU5Pqo=bw_j8arOq16o1JBOSwPtuMZBVozy4FV7YsSLGw@mail.gmail.com> |
On Fri, Dec 19, 2025 at 6:59 AM Matthieu Baerts <[email protected]> wrote: > > 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. Should I wait for the actual patch for sparse? > > > > 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! Thanks for the report. Chris