From: Madhavan Srinivasan <maddy@linux.ibm.com>
To: "Michael Ellerman" <mpe@ellerman.id.au>,
"Nicholas Piggin" <npiggin@gmail.com>,
"Thomas Weißschuh" <thomas.weissschuh@linutronix.de>,
"Christophe Leroy" <chleroy@kernel.org>,
"Thomas Gleixner" <tglx@kernel.org>,
"Thorsten Blum" <thorsten.blum@linux.dev>
Cc: linux-hardening@vger.kernel.org, linuxppc-dev@lists.ozlabs.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] powerpc/pseries/lparcfg: Replace deprecated strcpy in parse_system_parameter_string
Date: Sat, 20 Jun 2026 03:30:12 +0530 [thread overview]
Message-ID: <178190618802.653308.14345935745182583416.b4-ty@linux.ibm.com> (raw)
In-Reply-To: <20251013135703.97260-2-thorsten.blum@linux.dev>
On Mon, 13 Oct 2025 15:57:02 +0200, Thorsten Blum wrote:
> strcpy() is deprecated; use strscpy() instead. Use the return value of
> strscpy() instead of calling strlen() again, and ignore any potential
> string truncation since both strings are much shorter than the buffer
> size SPLPAR_MAXLENGTH.
>
> Change both if conditions to silence the following checkpatch warnings:
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/pseries/lparcfg: Replace deprecated strcpy in parse_system_parameter_string
https://git.kernel.org/powerpc/c/c8f80f95da32618d49c2a068ee561b85655b761d
cheers
prev parent reply other threads:[~2026-06-19 22:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-13 13:57 Thorsten Blum
2026-06-19 22:00 ` Madhavan Srinivasan [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=178190618802.653308.14345935745182583416.b4-ty@linux.ibm.com \
--to=maddy@linux.ibm.com \
--cc=chleroy@kernel.org \
--cc=linux-hardening@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mpe@ellerman.id.au \
--cc=npiggin@gmail.com \
--cc=tglx@kernel.org \
--cc=thomas.weissschuh@linutronix.de \
--cc=thorsten.blum@linux.dev \
/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
all inboxes | Powered by JetHome®