aboutsummaryrefslogtreecommitdiffstats
path: root/io_uring/net.c
diff options
context:
space:
mode:
authorSukrut Heroorkar <[email protected]>2025-07-16 12:35:43 +0000
committerRafael J. Wysocki <[email protected]>2025-07-16 19:14:00 +0000
commitcf115ebad30f08c96f59a39e6a96ef26a146d900 (patch)
tree4e5afe1469c8831ed4eaa4e889bcbdb11c7571e9 /io_uring/net.c
parentLinux 6.16-rc6 (diff)
downloadkernel-cf115ebad30f08c96f59a39e6a96ef26a146d900.tar.gz
kernel-cf115ebad30f08c96f59a39e6a96ef26a146d900.zip
ACPI: TAD: Replace sprintf() with sysfs_emit()
Replace sprintf() in *_show() callbacks of sysfs attributes with sysfs_emit(). While the current implementation works, sysfs_emit() helps to prevent potential buffer overflows and aligns with kernel documentation Documentation/filesystems/sysfs.rst. Tested on an x86_64 system with acpi_tad built as a module: - Inserted patched acpi_tad.ko successfully - Verified /sys/devices/platform/ACPI000E:00/time and /caps are accessible - Confirmed correct output from 'cat' with no dmesg errors Signed-off-by: Sukrut Heroorkar <[email protected]> Link: https://patch.msgid.link/[email protected] [ rjw: Changelog edits ] Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'io_uring/net.c')
0 files changed, 0 insertions, 0 deletions