mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Damien Le Moal <dlemoal@kernel.org>
To: Thorsten Blum <thorsten.blum@linux.dev>,
	Niklas Cassel <cassel@kernel.org>
Cc: linux-hardening@vger.kernel.org, linux-ide@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ata: Replace deprecated strcpy with strscpy in it821x_display_disk
Date: Sun, 19 Oct 2025 12:44:32 +0900	[thread overview]
Message-ID: <f6fa3655-c0e3-4c49-a970-22b3c68a0555@kernel.org> (raw)
In-Reply-To: <20251018105146.29808-1-thorsten.blum@linux.dev>

On 10/18/25 19:51, Thorsten Blum wrote:
> strcpy() is deprecated; use strscpy() instead.
> 
> Replace the hard-coded buffer size 8 with sizeof(mbuf) when using
> snprintf() while we're at it.
> 
> Link: https://github.com/KSPP/linux/issues/88
> Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>

Note: the patch title should be:

ata: pata_it821x: Replace deprecated strcpy with strscpy in it821x_display_disk

Niklas can fix that when applying I think.

Reviewed-by: Damien Le Moal <dlemoal@kernel.org>

-- 
Damien Le Moal
Western Digital Research

  reply	other threads:[~2025-10-19  3:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-18 10:51 Thorsten Blum
2025-10-19  3:44 ` Damien Le Moal [this message]
2025-10-23 12:28 ` Niklas Cassel

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=f6fa3655-c0e3-4c49-a970-22b3c68a0555@kernel.org \
    --to=dlemoal@kernel.org \
    --cc=cassel@kernel.org \
    --cc=linux-hardening@vger.kernel.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --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®