Re: [PATCH] scsi: qla4xxx: Replace snprintf() with sysfs_emit()
From: Martin K. Petersen
Date: Tue Aug 19 2025 - 22:08:56 EST
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!
--
Martin K. Petersen