diff options
| author | 2025-06-20 08:17:05 +0530 | |
|---|---|---|
| committer | 2025-07-11 08:31:01 +0530 | |
| commit | e82fff08327e295b825e38af8dd3197cbc87f7a8 (patch) | |
| tree | b9edfa2e906103b94d125f2271e6687f5be0345d /scripts/lib | |
| parent | integrity/platform_certs: Allow loading of keys in the static key management mode (diff) | |
| download | wireguard-linux-e82fff08327e295b825e38af8dd3197cbc87f7a8.tar.xz wireguard-linux-e82fff08327e295b825e38af8dd3197cbc87f7a8.zip | |
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: Ankit Chauhan <ankitchauhan2065@gmail.com>
Acked-by: Andrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20250620024705.11321-1-ankitchauhan2065@gmail.com
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions
