]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: fix signedness bug in execute_synaptics_rc_command()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 26 Jul 2022 15:15:31 +0000 (18:15 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Jul 2022 20:05:16 +0000 (16:05 -0400)
commitf53eed94b8d6c8f366c13937fe0ce057eaa69926
tree3e2e7959eaa61a39ef78d24e0f38c8b1851a8d8c
parent58fa3305431254b7dca517dbe79718069dc31483
drm/amd/display: fix signedness bug in execute_synaptics_rc_command()

The "ret" variable needs to be signed for the error handling to work.

Fixes: 43afaed7308d ("drm/amd/display: Add Synaptics Fifo Reset Workaround")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c