[PATCH] ocxl: sysfs.c: Replace scnprintf() with sysfs_emit()

Ryan Chung seokwoo.chung130 at gmail.com
Thu Jul 10 18:35:49 AEST 2025


On Thu, Jul 10, 2025 at 05:23:12PM +1000, Andrew Donnellan wrote:
> 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

Thank you. I did not see this.

Best, 
Ryan


More information about the Linuxppc-dev mailing list