Commit 01c6d1df authored by Ankit Chauhan's avatar Ankit Chauhan Committed by Greg Kroah-Hartman
Browse files

misc: ocxl: Replace scnprintf() with sysfs_emit() in sysfs show functions



Replace scnprintf() with sysfs_emit() in sysfs show functions.
These helpers are preferred in sysfs callbacks because they automatically
handle buffer size and improve safety and readability.

Signed-off-by: default avatarAnkit Chauhan <ankitchauhan2065@gmail.com>
Acked-by: default avatarAndrew Donnellan <ajd@linux.ibm.com>
Link: https://lore.kernel.org/r/20250620024705.11321-1-ankitchauhan2065@gmail.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ea6895f0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment