diff options
| author | Jia-Ju Bai <[email protected]> | 2022-02-25 13:25:52 +0000 |
|---|---|---|
| committer | Krzysztof Kozlowski <[email protected]> | 2022-03-04 08:08:27 +0000 |
| commit | 5b5ab1bfa1898c6d52936a57c25c5ceba2cb2f87 (patch) | |
| tree | caccc4de583c78f5690f3518960597b4c6fe701d /drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c | |
| parent | memory: emif: Add check for setup_interrupts (diff) | |
| download | kernel-5b5ab1bfa1898c6d52936a57c25c5ceba2cb2f87.tar.gz kernel-5b5ab1bfa1898c6d52936a57c25c5ceba2cb2f87.zip | |
memory: emif: check the pointer temp in get_device_details()
The pointer temp is allocated by devm_kzalloc(), so it should be
checked for error handling.
Fixes: 7ec944538dde ("memory: emif: add basic infrastructure for EMIF driver")
Signed-off-by: Jia-Ju Bai <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c')
0 files changed, 0 insertions, 0 deletions
