aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAnkit Chauhan <ankitchauhan2065@gmail.com>2025-06-20 08:17:05 +0530
committerMadhavan Srinivasan <maddy@linux.ibm.com>2025-07-11 08:31:01 +0530
commite82fff08327e295b825e38af8dd3197cbc87f7a8 (patch)
treeb9edfa2e906103b94d125f2271e6687f5be0345d /tools/perf/scripts/python
parentintegrity/platform_certs: Allow loading of keys in the static key management mode (diff)
downloadwireguard-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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions