From: Carlos Maiolino <cem@kernel.org>
To: linux-xfs@vger.kernel.org, linux-kernel@vger.kernel.org,
Pranav Tyagi <pranav.tyagi03@gmail.com>
Cc: djwong@kernel.org, skhan@linuxfoundation.org,
linux-kernel-mentees@lists.linux.dev
Subject: Re: [PATCH v2] fs/xfs: replace strncpy with memtostr_pad()
Date: Thu, 17 Jul 2025 10:11:54 +0200 [thread overview]
Message-ID: <175273991411.1798976.8807586942467091508.b4-ty@kernel.org> (raw)
In-Reply-To: <20250704101250.24629-1-pranav.tyagi03@gmail.com>
On Fri, 04 Jul 2025 15:42:50 +0530, Pranav Tyagi wrote:
> Replace the deprecated strncpy() with memtostr_pad(). This also avoids
> the need for separate zeroing using memset(). Mark sb_fname buffer with
> __nonstring as its size is XFSLABEL_MAX and so no terminating NULL for
> sb_fname.
>
>
Applied to for-next, thanks!
[1/1] fs/xfs: replace strncpy with memtostr_pad()
commit: f161da9418910f4ab7a29099682d03e06ef2c3ef
Best regards,
--
Carlos Maiolino <cem@kernel.org>
prev parent reply other threads:[~2025-07-17 8:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-04 10:12 [PATCH v2] fs/xfs: replace strncpy with memtostr_pad() Pranav Tyagi
2025-07-10 10:26 ` Pranav Tyagi
2025-07-12 5:56 ` Darrick J. Wong
2025-07-15 8:41 ` Carlos Maiolino
2025-07-17 8:11 ` Carlos Maiolino [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=175273991411.1798976.8807586942467091508.b4-ty@kernel.org \
--to=cem@kernel.org \
--cc=djwong@kernel.org \
--cc=linux-kernel-mentees@lists.linux.dev \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-xfs@vger.kernel.org \
--cc=pranav.tyagi03@gmail.com \
--cc=skhan@linuxfoundation.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox