Files
linux-stable-mirror/drivers/gpu
Brian Kocoloski 47206d70d1 drm/amdkfd: Fix improper NULL termination of queue restore SMI event string
[ Upstream commit 969faea4e9 ]

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 commit 6e7143e5e6)
Signed-off-by: Sasha Levin <sashal@kernel.org>
2026-01-17 16:31:28 +01:00
..