From: Alejandro Colomar <alx@kernel.org>
To: Joe Damato <joe@dama.to>, "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 21:37:24 +0100 [thread overview]
Message-ID: <awdGuVcwtVwUc7ge@devuan> (raw)
In-Reply-To: <awcrIkjb2jvl3gY/@devvm20253.cco0.facebook.com>
[-- Attachment #1: Type: text/plain, Size: 981 bytes --]
Hi Joe,
> Date: 2026-11-25 10:38:26-0800
> From: Joe Damato <joe@dama.to>
>
> 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
I kept it simple, because it's an obvious improvement, and adding more
text felt like bloating it too much, but if you propose any improvement,
I could incorporate it into the patch.
>
> Reviewed-by: Joe Damato <joe@dama.to>
Thanks!
Have a lovely night!
Alex
--
<https://www.alejandro-colomar.es>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2026-11-25 20:37 UTC|newest]
Thread overview: 5+ 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
2026-11-25 20:37 ` Alejandro Colomar [this message]
2026-12-02 3:41 ` willemb
2026-12-02 3:41 ` willemb
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=awdGuVcwtVwUc7ge@devuan \
--to=alx@kernel.org \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=horms@kernel.org \
--cc=joe@dama.to \
--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 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.