[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACePvbU5Pqo=bw_j8arOq16o1JBOSwPtuMZBVozy4FV7YsSLGw@mail.gmail.com>
Date: Fri, 16 Jan 2026 15:35:06 -0800
From: Chris Li <sparse@...isli.org>
To: Matthieu Baerts <matttbe@...nel.org>
Cc: Dan Carpenter <dan.carpenter@...aro.org>, Daniel Gomez <da.gomez@...nel.org>,
Kees Cook <kees@...nel.org>, Rusty Russell <rusty@...tcorp.com.au>,
Petr Pavlu <petr.pavlu@...e.com>, Sami Tolvanen <samitolvanen@...gle.com>,
linux-modules@...r.kernel.org, Hans Verkuil <hverkuil+cisco@...nel.org>,
Malcolm Priestley <tvboxspy@...il.com>, Mauro Carvalho Chehab <mchehab@...nel.org>,
Hans Verkuil <hverkuil@...nel.org>, Uwe Kleine-König <u.kleine-koenig@...gutronix.de>,
linux-kernel@...r.kernel.org, linux-media@...r.kernel.org,
linux-hardening@...r.kernel.org, Luis Chamberlain <mcgrof@...nel.org>,
linux-sparse@...r.kernel.org
Subject: Re: [PATCH v2 3/3] module: Add compile-time check for embedded NUL characters
On Fri, Dec 19, 2025 at 6:59 AM Matthieu Baerts <matttbe@...nel.org> 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/20251211175101.GA3405942@google.com/
>
> 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
Powered by blists - more mailing lists