diff options
author | Thomas Fourier <fourier.thomas@gmail.com> | 2025-07-16 11:47:30 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-08-20 18:41:07 +0200 |
commit | daf3a22ca08e6b03202cbbdb31df88dff1b95075 (patch) | |
tree | 3bfd48acc23dedb4e31fc0482da0eb9cb8c239a3 /drivers/gpu/drm/amd/pm/amdgpu_pm.c | |
parent | a2ac4190302c4c84824772a5de246cec8be88e54 (diff) |
et131x: Add missing check after DMA map
[ Upstream commit d61f6cb6f6ef3c70d2ccc0d9c85c508cb8017da9 ]
The DMA map functions can fail and should be tested for errors.
If the mapping fails, unmap and return an error.
Signed-off-by: Thomas Fourier <fourier.thomas@gmail.com>
Acked-by: Mark Einon <mark.einon@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250716094733.28734-2-fourier.thomas@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions