diff options
| author | Zhongqiu Han <zhongqiu.han@oss.qualcomm.com> | 2025-12-17 14:51:08 +0800 |
|---|---|---|
| committer | Bjorn Andersson <andersson@kernel.org> | 2026-07-09 14:45:34 -0500 |
| commit | ef22e806ae3b6728df20b5a6c07aa5a01db38e7b (patch) | |
| tree | 1e49fa2afe815577ad13d065eef20ff742af57a2 /include/linux/workqueue.h | |
| parent | dc59e4fea9d83f03bad6bddf3fa2e52491777482 (diff) | |
rpmsg: Replace sprintf() with sysfs_emit() in sysfs show
Use sysfs_emit() instead of sprintf() in sysfs attribute show functions.
sysfs_emit() is the recommended API for sysfs output as it provides buffer
overflow protection and proper formatting.
No functional changes.
Signed-off-by: Zhongqiu Han <zhongqiu.han@oss.qualcomm.com>
Reviewed-by: Chris Lew <christopher.lew@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20251217065112.18392-2-zhongqiu.han@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions
