[PATCH 07/76] drm/amd/dal: Fix warning about comparing different types

Harry Wentland harry.wentland at amd.com
Mon Nov 21 23:00:27 UTC 2016


Signed-off-by: Harry Wentland <harry.wentland at amd.com>
Acked-by: Harry Wentland <harry.wentland at amd.com>
---
 drivers/gpu/drm/amd/dal/dc/core/dc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/dal/dc/core/dc.c b/drivers/gpu/drm/amd/dal/dc/core/dc.c
index e4990983924e..ad4884a6f98d 100644
--- a/drivers/gpu/drm/amd/dal/dc/core/dc.c
+++ b/drivers/gpu/drm/amd/dal/dc/core/dc.c
@@ -650,7 +650,7 @@ void ProgramPixelDurationV(unsigned int pixelClockInKHz )
 struct dc *dc_create(const struct dc_init_data *init_params)
  {
 	struct core_dc *core_dc = dm_alloc(sizeof(*core_dc));
-	int full_pipe_count;
+	unsigned int full_pipe_count;
 
 	if (NULL == core_dc)
 		goto alloc_fail;
-- 
2.10.1



More information about the amd-gfx mailing list