All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Thorsten Blum <thorsten.blum@linux.dev>
Cc: Takashi Iwai <tiwai@suse.de>, Jaroslav Kysela <perex@perex.cz>,
	Takashi Iwai <tiwai@suse.com>,
	Philipp Stanner <phasta@kernel.org>,
	Andres Urian Florez <andres.emb.sys@gmail.com>,
	linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ALSA: echoaudio: Replace deprecated strcpy() with strscpy()
Date: Thu, 10 Jul 2025 11:34:57 +0300	[thread overview]
Message-ID: <aG97MbrEKqqZbsYe@smile.fi.intel.com> (raw)
In-Reply-To: <7F3BCAEF-67D2-4907-9392-CAEFD3EF58C7@linux.dev>

On Wed, Jul 09, 2025 at 10:55:02PM +0200, Thorsten Blum wrote:
> On 9. Jul 2025, at 16:05, Takashi Iwai wrote:
> > Thanks, applied now.

> > And now I'm going to convert all the rest of such trivial stuff
> > (strcpy() with card->driver, shortname, mixername, longname, as well
> > as pcm->name, and else) in sound/* for 6.17.
> 
> Yes, please :) I thought about submitting a patch series for all of
> sound/*, but didn't find the time yet.

Note that strscpy() supports 3rd argument optionally, it means it's better
to use 2-arg variant when the destination is supposed to be an array of
characters.

-- 
With Best Regards,
Andy Shevchenko



  reply	other threads:[~2025-07-10  8:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-09 12:46 [PATCH] ALSA: echoaudio: Replace deprecated strcpy() with strscpy() Thorsten Blum
2025-07-09 14:05 ` Takashi Iwai
2025-07-09 20:55   ` Thorsten Blum
2025-07-10  8:34     ` Andy Shevchenko [this message]
2025-07-10  8:41       ` Takashi Iwai

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=aG97MbrEKqqZbsYe@smile.fi.intel.com \
    --to=andriy.shevchenko@linux.intel.com \
    --cc=andres.emb.sys@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=phasta@kernel.org \
    --cc=thorsten.blum@linux.dev \
    --cc=tiwai@suse.com \
    --cc=tiwai@suse.de \
    /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.