summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorKaushlendra Kumar <kaushlendra.kumar@intel.com>2025-12-30 18:15:16 +0530
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2026-01-06 10:57:11 +0200
commit7b0a51955b0eadacd44350b6f13bf21ba675aed9 (patch)
tree9904c296644d6fcb06672beb68d37c11c6247399 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parent050a0aab15da9e1d14cd41073046d12d29f443c6 (diff)
platform/x86/intel/uncore-freq: Replace sprintf() with sysfs_emit()
Replace sprintf() with sysfs_emit() in sysfs show functions. The sysfs_emit() function is the preferred way to format sysfs output as it ensures proper buffer bounds checking and correct return values. Signed-off-by: Kaushlendra Kumar <kaushlendra.kumar@intel.com> Link: https://patch.msgid.link/20251230124516.229125-3-kaushlendra.kumar@intel.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions