All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chao Yu via Linux-f2fs-devel <linux-f2fs-devel@lists.sourceforge.net>
To: Daniel Yang <danielyangkang@gmail.com>,
	Jaegeuk Kim <jaegeuk@kernel.org>,
	 "open list:F2FS FILE SYSTEM"
	<linux-f2fs-devel@lists.sourceforge.net>,
	open list <linux-kernel@vger.kernel.org>
Subject: Re: [f2fs-dev] [PATCH v3] f2fs: replace deprecated strcpy with strscpy
Date: Mon, 18 Nov 2024 16:14:07 +0800	[thread overview]
Message-ID: <4ab5c6d1-9ce0-40aa-8fdb-340a50db3bec@kernel.org> (raw)
In-Reply-To: <20241118070141.3474-1-danielyangkang@gmail.com>

On 2024/11/18 15:01, Daniel Yang wrote:
> strcpy is deprecated. Kernel docs recommend replacing strcpy with
> strscpy. The function strcpy() return value isn't used so there
> shouldn't be an issue replacing with the safer alternative strscpy.
> 
> Signed-off-by: Daniel Yang <danielyangkang@gmail.com>

Reviewed-by: Chao Yu <chao@kernel.org>

Thanks,


_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

WARNING: multiple messages have this Message-ID (diff)
From: Chao Yu <chao@kernel.org>
To: Daniel Yang <danielyangkang@gmail.com>,
	Jaegeuk Kim <jaegeuk@kernel.org>,
	"open list:F2FS FILE SYSTEM"
	<linux-f2fs-devel@lists.sourceforge.net>,
	open list <linux-kernel@vger.kernel.org>
Cc: Chao Yu <chao@kernel.org>
Subject: Re: [PATCH v3] f2fs: replace deprecated strcpy with strscpy
Date: Mon, 18 Nov 2024 16:14:07 +0800	[thread overview]
Message-ID: <4ab5c6d1-9ce0-40aa-8fdb-340a50db3bec@kernel.org> (raw)
In-Reply-To: <20241118070141.3474-1-danielyangkang@gmail.com>

On 2024/11/18 15:01, Daniel Yang wrote:
> strcpy is deprecated. Kernel docs recommend replacing strcpy with
> strscpy. The function strcpy() return value isn't used so there
> shouldn't be an issue replacing with the safer alternative strscpy.
> 
> Signed-off-by: Daniel Yang <danielyangkang@gmail.com>

Reviewed-by: Chao Yu <chao@kernel.org>

Thanks,

  reply	other threads:[~2024-11-18  8:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-18  7:01 [f2fs-dev] [PATCH v3] f2fs: replace deprecated strcpy with strscpy Daniel Yang
2024-11-18  7:01 ` Daniel Yang
2024-11-18  8:14 ` Chao Yu via Linux-f2fs-devel [this message]
2024-11-18  8:14   ` Chao Yu
2024-11-21 16:20 ` [f2fs-dev] " patchwork-bot+f2fs--- via Linux-f2fs-devel
2024-11-21 16:20   ` patchwork-bot+f2fs

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=4ab5c6d1-9ce0-40aa-8fdb-340a50db3bec@kernel.org \
    --to=linux-f2fs-devel@lists.sourceforge.net \
    --cc=chao@kernel.org \
    --cc=danielyangkang@gmail.com \
    --cc=jaegeuk@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /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.