diff options
author | Roy Sun <[email protected]> | 2022-07-20 16:19:50 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2022-07-28 16:05:14 -0400 |
commit | 1f83db6be37c53f6d395a41ee2602e3280ee60c2 (patch) | |
tree | 14f96f520644df90b839f3ef0f87ce0254243bda /tools/perf/scripts/python/compaction-times.py | |
parent | 8585732baa40455fbae9575d0c8316f4b0cf68f5 (diff) |
drm/amdgpu: Fix the incomplete product number
The comments say that the product number is a 16-digit HEX string so the
buffer needs to be at least 17 characters to hold the NUL terminator. Expand
the buffer size to 20 to avoid the alignment issues.
The comment:Product number should only be 16 characters. Any
more,and something could be wrong. Cap it at 16 to be safe
Signed-off-by: Roy Sun <[email protected]>
Reviewed-by: André Almeida <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions