]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: WARN_ON cleanups
authorNirmoy Das <nirmoy.das@amd.com>
Thu, 27 May 2021 12:13:04 +0000 (14:13 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Jun 2021 02:46:04 +0000 (22:46 -0400)
commitbcd743741f767a41e1f573a8f1a93035fcaa8f8f
tree3d34079eb0f159deef22779cd882a50c904033af
parent57738ae40f33c8903e84863acb17cb7c919d69a3
drm/amd/display: WARN_ON cleanups

Use WARN_ON() inside if-condition when possible.

v2: Squash in coding style fix (Alex)

Signed-off-by: Nirmoy Das <nirmoy.das@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c