From: Len Bao <len.bao@gmx.us>
To: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: Len Bao <len.bao@gmx.us>, Nilesh Javali <njavali@marvell.com>,
Manish Rangankar <mrangankar@marvell.com>,
GR-QLogic-Storage-Upstream@marvell.com,
"James E.J. Bottomley" <James.Bottomley@hansenpartnership.com>,
"Martin K. Petersen" <martin.petersen@oracle.com>,
linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] scsi: qla4xxx: Replace snprintf() with sysfs_emit()
Date: Sat, 23 Aug 2025 08:14:02 +0000 [thread overview]
Message-ID: <aKl4SticSmkNo3CP@ubuntu> (raw)
In-Reply-To: <yq1qzx6wy9r.fsf@ca-mkp.ca.oracle.com>
Hi Martin,
On Tue, Aug 19, 2025 at 10:08:31PM -0400, Martin K. Petersen wrote:
>
> Hi Len!
>
> > Documentation/filesystems/sysfs.rst mentions that show() should only
> > use sysfs_emit()
>
> It's a "should", not a "shall".
>
> sysfs.rst was recently amended to emphasize that this suggestion applies
> to new implementations only. See commit 2115dc3e3376 ("docs:
> filesystems: sysfs: Recommend sysfs_emit() for new code only").
Thanks for the guidance. Sorry for the invonvenience. It's my fault.
Regards,
Len
>
> Thanks!
>
> --
> Martin K. Petersen
prev parent reply other threads:[~2025-08-23 8:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-11 17:06 [PATCH] scsi: qla4xxx: Replace snprintf() with sysfs_emit() Len Bao
2025-08-20 2:08 ` Martin K. Petersen
2025-08-23 8:14 ` Len Bao [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=aKl4SticSmkNo3CP@ubuntu \
--to=len.bao@gmx.us \
--cc=GR-QLogic-Storage-Upstream@marvell.com \
--cc=James.Bottomley@hansenpartnership.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=mrangankar@marvell.com \
--cc=njavali@marvell.com \
/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.