diff options
| author | 2026-06-01 15:48:44 -0400 | |
|---|---|---|
| committer | 2026-06-04 15:27:37 -0400 | |
| commit | 8bfd3aeeb7d4c140434bb9e604fca39ebb3e2937 (patch) | |
| tree | 81a93f4485d00a1333246b23bc24e68e91038f21 /tools/lib/python | |
| parent | drm/amdgpu: drop retry loop in amdgpu_hmm_range_get_pages (diff) | |
drm/amdkfd: fix sysfs topology prop length on buffer truncation
sysfs_show_gen_prop() accumulated snprintf()'s return value into the
offset. snprintf() reports bytes that would have been written, not
bytes actually written, so a truncated sysfs show could over-report
its length. Use sysfs_emit_at(), which returns only the bytes written.
Signed-off-by: Yongqiang Sun <Yongqiang.Sun@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
