From: Andy Shevchenko <andriy.shevchenko@intel.com>
To: Alejandro Colomar <alx+linux-hardening@kernel.org>
Cc: Alejandro Colomar <alx@kernel.org>, Kees Cook <kees@kernel.org>,
linux-hardening@vger.kernel.org,
Andy Shevchenko <andy@kernel.org>
Subject: Re: [PATCH] string: Add missing const
Date: Thu, 26 Nov 2026 22:51:57 +0200 [thread overview]
Message-ID: <awib7UleD4RO4K9v@ashevche-desk.local> (raw)
In-Reply-To: <awhWDGMVswTMHjzo@devuan>
On Thu, Nov 26, 2026 at 04:55:07PM +0100, Alejandro Colomar wrote:
> > On Wed, Nov 25, 2026 at 07:26:38PM +0100, Alejandro Colomar wrote:
> > > This pointer is derived from other const pointers.
> >
> > Constification almost always is a good thing, if this builds and works as
> > expected,
>
> Yup, I built it as part of a larger branch. I didn't run the tests,
> but this should be a compile-time-only thing, so I don't think it's
> necessary.
Running kunit test is so-o easy! Just run
./tools/testing/kunit/kunit.py run string
It will fail if compilation fails, so it's 2-in-1.
--
With Best Regards,
Andy Shevchenko
next prev parent reply other threads:[~2026-11-26 20:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 18:26 [PATCH] string: Add missing const Alejandro Colomar
2026-11-26 15:20 ` Andy Shevchenko
2026-11-26 15:55 ` Alejandro Colomar
2026-11-26 20:51 ` Andy Shevchenko [this message]
2026-11-26 21:49 ` Alejandro Colomar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=awib7UleD4RO4K9v@ashevche-desk.local \
--to=andriy.shevchenko@intel.com \
--cc=alx+linux-hardening@kernel.org \
--cc=alx@kernel.org \
--cc=andy@kernel.org \
--cc=kees@kernel.org \
--cc=linux-hardening@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.