]> Git Repo - linux.git/commit
drm/amd/display: Fix warning comparing pointer to 0
authorJiapeng Chong <[email protected]>
Mon, 1 Jul 2024 07:04:52 +0000 (15:04 +0800)
committerAlex Deucher <[email protected]>
Tue, 2 Jul 2024 22:04:45 +0000 (18:04 -0400)
commitf4b1dbf413624ad07cc2ca2a6e6ec25c3f1e733b
treebcd0b4287bb4b8a5722d107140450ad611d5ce65
parentdcac51bd102cdb2aff1ad337d3c2fd354491ba42
drm/amd/display: Fix warning comparing pointer to 0

Avoid pointer type value compared with 0 to make code clear.

./drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_dpmm/dml2_dpmm_factory.c:24:12-13: WARNING comparing pointer to 0.

Reported-by: Abaci Robot <[email protected]>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9458
Signed-off-by: Jiapeng Chong <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_dpmm/dml2_dpmm_factory.c
This page took 0.060264 seconds and 4 git commands to generate.