diff options
| author | Li Zhong <floridsleeves@gmail.com> | 2022-09-21 21:17:56 -0700 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2022-09-29 09:41:42 -0400 |
| commit | 629c30db7c6812fe82d2dcc0110c9e994a831182 (patch) | |
| tree | 376693896c7e699ffb78def89d7dea3a8d006065 /drivers/fpga/microchip-spi.c | |
| parent | bb66ecbf122cc5ca52c569f0f84b5d1b2c00f6b9 (diff) | |
drivers/amd/pm: check the return value of amdgpu_bo_kmap
amdgpu_bo_kmap() returns error when fails to map buffer object. Add the
error check and propagate the error.
Reviewed-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Li Zhong <floridsleeves@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/fpga/microchip-spi.c')
0 files changed, 0 insertions, 0 deletions
