diff options
author | Dave Airlie <airlied@redhat.com> | 2017-02-08 11:28:19 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2017-02-08 11:28:19 +1000 |
commit | 4eaa39c63caf535dc1a8cc43b9a8677a100c09e1 (patch) | |
tree | ab63f9affdede388dc4000384f54027f5739c05d /drivers | |
parent | 26d7f34cae7aad9600cd40ce07ec3fbe8606a567 (diff) | |
parent | 213c4b96639818a2dc8750d1b7a37672a9c9eaeb (diff) |
Merge branch 'drm-rockchip-next-2017-02-07' of https://github.com/markyzq/kernel-drm-rockchip into drm-next
Single compile fix.
* 'drm-rockchip-next-2017-02-07' of https://github.com/markyzq/kernel-drm-rockchip:
drm/rockchip: cdn-dp: fix cdn-dp complie warning
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/rockchip/cdn-dp-reg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/rockchip/cdn-dp-reg.c b/drivers/gpu/drm/rockchip/cdn-dp-reg.c index 3a5b8a4aa1e7..319dbbaa3609 100644 --- a/drivers/gpu/drm/rockchip/cdn-dp-reg.c +++ b/drivers/gpu/drm/rockchip/cdn-dp-reg.c @@ -592,7 +592,7 @@ static int cdn_dp_get_msa_misc(struct video_info *video, struct drm_display_mode *mode) { u32 msa_misc; - u8 val[2]; + u8 val[2] = {0}; switch (video->color_fmt) { case PXL_RGB: |