mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-15 19:56:03 +00:00
drm/amdkfd: Fix improper NULL termination of queue restore SMI event string
[ Upstream commit969faea4e9] Pass character "0" rather than NULL terminator to properly format queue restoration SMI events. Currently, the NULL terminator precedes the newline character that is intended to delineate separate events in the SMI event buffer, which can break userspace parsers. Signed-off-by: Brian Kocoloski <brian.kocoloski@amd.com> Reviewed-by: Philip Yang <Philip.Yang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit6e7143e5e6) Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
1c06d85c3d
commit
47206d70d1
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue