diff options
| author | Christophe JAILLET <[email protected]> | 2018-06-11 16:53:35 +0000 |
|---|---|---|
| committer | Neil Armstrong <[email protected]> | 2018-06-26 08:22:29 +0000 |
| commit | 01a9e9493fb3f65c07077d59cf8ba8b6d2e0463e (patch) | |
| tree | 9a6c2377e6e0e0b074bc1b060e99e7964627075f /drivers/gpu/drm/amd/amdgpu/amdgpu_test.c | |
| parent | Linux 4.18-rc2 (diff) | |
| download | kernel-01a9e9493fb3f65c07077d59cf8ba8b6d2e0463e.tar.gz kernel-01a9e9493fb3f65c07077d59cf8ba8b6d2e0463e.zip | |
drm/meson: Fix an un-handled error path in 'meson_drv_bind_master()'
If 'platform_get_resource_byname()' fails, we should release some resources
before leaving, as already done in the other error handling path of the
function.
Fixes: acaa3f13b8dd ("drm/meson: Fix potential NULL dereference in meson_drv_bind_master()")
Signed-off-by: Christophe JAILLET <[email protected]>
Acked-by: Neil Armstrong <[email protected]>
Signed-off-by: Neil Armstrong <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_test.c')
0 files changed, 0 insertions, 0 deletions
