]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/pm: fix enum type compared against 0
authorJesse Zhang <jesse.zhang@amd.com>
Thu, 9 May 2024 03:20:57 +0000 (11:20 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 May 2024 20:12:02 +0000 (16:12 -0400)
commit67024471616e090c994a46630bd23c42d6962a34
tree250d44ba4d198746ce9529074ce877e75267692c
parent269435aef45da369a345d23c28bf1b34134ec7da
drm/amd/pm: fix enum type compared against 0

This less-than-zero comparison of an unsigned value is never true. type < 0U

Signed-off-by: Jesse Zhang <Jesse.Zhang@amd.com>
Reviewed-by: Tim Huang <Tim.Huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c