From: Archit Taneja Date: Tue, 6 Dec 2016 06:42:59 +0000 (+0530) Subject: drm/msm/mdp5: cfg: Change count to unsigned int X-Git-Tag: v4.14-rc1~1422^2~24^2~18 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=710a651fdd6958c8530c72c62970b785179fce9f;p=platform%2Fkernel%2Flinux-rpi3.git drm/msm/mdp5: cfg: Change count to unsigned int Count can't be non-zero. Changing to uint will also prevent future warnings. Signed-off-by: Archit Taneja Signed-off-by: Rob Clark --- diff --git a/drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.h b/drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.h index f681149..b1c7daa 100644 --- a/drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.h +++ b/drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.h @@ -32,7 +32,7 @@ extern const struct mdp5_cfg_hw *mdp5_cfg; typedef DECLARE_BITMAP(mdp5_smp_state_t, MAX_SMP_BLOCKS); #define MDP5_SUB_BLOCK_DEFINITION \ - int count; \ + unsigned int count; \ uint32_t base[MAX_BASES] struct mdp5_sub_block {