Linux Hardening
 help / color / mirror / Atom feed
From: Alejandro Colomar <alx+linux-hardening@kernel.org>
To: Andy Shevchenko <andriy.shevchenko@intel.com>
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 16:55:07 +0100	[thread overview]
Message-ID: <awhWDGMVswTMHjzo@devuan> (raw)
In-Reply-To: <awhOK6BFK6Rj0ytu@ashevche-desk.local>

[-- Attachment #1: Type: text/plain, Size: 629 bytes --]

Hi Andy,

> Date: 2026-11-26 17:20:11+0200
> From: Andy Shevchenko <andriy.shevchenko@intel.com>
>
> 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.

> 
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>

Thanks!


Have a lovely day!
Alex

-- 
<https://www.alejandro-colomar.es>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      reply	other threads:[~2026-11-26 15:55 UTC|newest]

Thread overview: 3+ 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 [this message]

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=awhWDGMVswTMHjzo@devuan \
    --to=alx+linux-hardening@kernel.org \
    --cc=alx@kernel.org \
    --cc=andriy.shevchenko@intel.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox