[PATCH] ocxl: sysfs.c: Replace scnprintf() with sysfs_emit()
Andrew Donnellan
ajd at linux.ibm.com
Thu Jul 10 17:23:12 AEST 2025
On Thu, 2025-07-10 at 16:18 +0900, Ryan Chung wrote:
> This change uses sysfs_emit() API usage for sysfs 'show'
> functions as recommended from Documentation/filesystems/sysfs.rst.
> Intended for safety and consistency.
>
> No functional change intended.
>
> Signed-off-by: Ryan Chung <seokwoo.chung130 at gmail.com>
An identical patch has already been merged in char-misc-next:
https://patchwork.ozlabs.org/project/linuxppc-dev/patch/20250620024705.11321-1-ankitchauhan2065@gmail.com/
Andrew
--
Andrew Donnellan OzLabs, ADL Canberra
ajd at linux.ibm.com IBM Australia Limited
More information about the Linuxppc-dev
mailing list