Commit e82fff08 authored by Ankit Chauhan's avatar Ankit Chauhan Committed by Madhavan Srinivasan
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>
Signed-off-by: default avatarMadhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20250620024705.11321-1-ankitchauhan2065@gmail.com
parent bde5b1a1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment