diff options
| author | 2025-10-30 11:04:10 +0530 | |
|---|---|---|
| committer | 2025-11-12 21:13:13 +0100 | |
| commit | 347d92a79585c6c54be635be9e667384d2685c5c (patch) | |
| tree | ab20edc905c6bdc0c1540ade6b1cc33d35419d61 /kernel/locking/git:/ssh:/git@git.zx2c4.com | |
| parent | thermal: intel: int340x: Use symbolic constant for UUID comparison (diff) | |
| download | linux-rng-347d92a79585c6c54be635be9e667384d2685c5c.tar.xz linux-rng-347d92a79585c6c54be635be9e667384d2685c5c.zip | |
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 'kernel/locking/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
