diff options
| author | Madhur Kumar <madhurkumar004@gmail.com> | 2025-12-05 14:48:04 +0530 |
|---|---|---|
| committer | Lyude Paul <lyude@redhat.com> | 2025-12-05 15:15:40 -0500 |
| commit | 979e2ec58de2b600955b8290d1df549e33d67347 (patch) | |
| tree | a0097eaf2d2727ac82e310eea715de46b82528b8 /tools/testing/selftests/syscall_user_dispatch/sud_test.c | |
| parent | d84e47edf156a953ed340ba6a202dcd3ea39ba0a (diff) | |
drm: nouveau: Replace sprintf() with sysfs_emit()
Replace sprintf() calls with sysfs_emit() 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: Madhur Kumar <madhurkumar004@gmail.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://patch.msgid.link/20251205091804.317801-1-madhurkumar004@gmail.com
Fixes: 11b7d895216f ("drm/nouveau/pm: manual pwm fanspeed management for nv40+ boards")
Cc: <stable@vger.kernel.org> # v3.3+
Diffstat (limited to 'tools/testing/selftests/syscall_user_dispatch/sud_test.c')
0 files changed, 0 insertions, 0 deletions
