drm/amd/display: Replace int with unsigned int
authorRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Wed, 3 Apr 2024 16:26:17 +0000 (10:26 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 17 Apr 2024 01:27:16 +0000 (21:27 -0400)
Reviewed-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_stream.c

index ee6493a9a79ca027bde39602e1a8acf1bfa3c567..5c7e4884cac2c5322cad156eb6ae0aefa791c85b 100644 (file)
@@ -495,7 +495,7 @@ bool dc_stream_remove_writeback(struct dc *dc,
                struct dc_stream_state *stream,
                uint32_t dwb_pipe_inst)
 {
-       int i = 0, j = 0;
+       unsigned int i, j;
        if (stream == NULL) {
                dm_error("DC: dc_stream is NULL!\n");
                return false;