diff options
| author | Kaushlendra Kumar <kaushlendra.kumar@intel.com> | 2025-10-30 11:04:10 +0530 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2025-11-12 21:13:13 +0100 |
| commit | 347d92a79585c6c54be635be9e667384d2685c5c (patch) | |
| tree | ab20edc905c6bdc0c1540ade6b1cc33d35419d61 /tools/docs/parse-headers.py | |
| parent | 901990781657660b2621fa7ff86599cf0b98da31 (diff) | |
thermal: intel: int340x: Replace sprintf() with sysfs_emit()
Replace sprintf() calls with sysfs_emit() in sysfs "show" functions to
follow current kernel coding standards.
sysfs_emit() is the preferred method for formatting sysfs output as it
provides better bounds checking and is more secure.
Signed-off-by: Kaushlendra Kumar <kaushlendra.kumar@intel.com>
[ rjw: Subject adjustments, changelog edits ]
Link: https://patch.msgid.link/20251030053410.311656-1-kaushlendra.kumar@intel.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions
