Netdev List
 help / color / mirror / Atom feed
From: Joe Damato <joe@dama.to>
To: Alejandro Colomar <alx@kernel.org>
Cc: "David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	netdev@vger.kernel.org, Simon Horman <horms@kernel.org>
Subject: Re: [PATCH] net: Add missing const
Date: Wed, 25 Nov 2026 10:38:26 -0800	[thread overview]
Message-ID: <awcrIkjb2jvl3gY/@devvm20253.cco0.facebook.com> (raw)
In-Reply-To: <c9d923eca5851e04589758da9043a3d507cc9bd4.1795630753.git.alx@kernel.org>

On Wed, Nov 25, 2026 at 07:19:51PM +0100, Alejandro Colomar wrote:
> These pointers are derived from other const pointers.
> 
> Signed-off-by: Alejandro Colomar <alx@kernel.org>
> ---
> 
> Hi,
> 
> This was found when changing some <linux/string.h> APIs to preserve the
> const qualifier in the return type.
> 
> 
> Have a lovely night!
> Alex
> 
>  net/smc/smc_pnet.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

patch seems right but i think the subject line and commit message could be
improved tbh

Reviewed-by: Joe Damato <joe@dama.to>

  reply	other threads:[~2026-11-25 18:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25 18:19 [PATCH] net: Add missing const Alejandro Colomar
2026-11-25 18:38 ` Joe Damato [this message]
2026-11-25 20:37   ` 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=awcrIkjb2jvl3gY/@devvm20253.cco0.facebook.com \
    --to=joe@dama.to \
    --cc=alx@kernel.org \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=horms@kernel.org \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    /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