Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm/amd/pm: fix variable dereferenced issue in amdgpu_device_attr_cre…
…ate() [ Upstream commit 25e6373 ] - fix variable ('attr') dereferenced issue. - using condition check instead of BUG_ON(). Fixes: 4e01847 ("drm/amdgpu: optimize amdgpu device attribute code") Cc: Dan Carpenter <[email protected]> Signed-off-by: Yang Wang <[email protected]> Reviewed-by: Kenneth Feng <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
- Loading branch information