projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3a9470
)
drm/msm/mdp5: cfg: Change count to unsigned int
author
Archit Taneja
<architt@codeaurora.org>
Tue, 6 Dec 2016 06:42:59 +0000
(12:12 +0530)
committer
Rob Clark
<robdclark@gmail.com>
Mon, 6 Feb 2017 16:28:43 +0000
(11:28 -0500)
Count can't be non-zero. Changing to uint will also prevent future
warnings.
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.h
b/drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.h
index f681149ad8e365be7ad9552c853a61606584bee4..b1c7daaede86b6b25c9ee81ca866618f355f95b4 100644
(file)
--- 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 {