Explorar o código

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
Dave Airlie %!s(int64=8) %!d(string=hai) anos
pai
achega
4eaa39c63c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/gpu/drm/rockchip/cdn-dp-reg.c

+ 1 - 1
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)
 			       struct drm_display_mode *mode)
 {
 {
 	u32 msa_misc;
 	u32 msa_misc;
-	u8 val[2];
+	u8 val[2] = {0};
 
 
 	switch (video->color_fmt) {
 	switch (video->color_fmt) {
 	case PXL_RGB:
 	case PXL_RGB: