]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix check for null function ptr
authorAlvin Lee <Alvin.Lee2@amd.com>
Fri, 3 Dec 2021 21:29:05 +0000 (16:29 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Dec 2021 13:54:44 +0000 (08:54 -0500)
commit7ae12c58f8a1e7b4446057e7d69096dcefe1ba68
tree8a7ab4dbcc9bf3d79e07043fef4e56a681305c55
parent81978915e8bab748b1d98ea09aaebab5298a481b
drm/amd/display: Fix check for null function ptr

[Why]
Bug fix for null function ptr (should check for NULL instead of not
NULL)

[How]
Fix if condition

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Samson Tam <samson.tam@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alvin Lee <Alvin.Lee2@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c