Skip to contentSkip to conversation

linux-next: build warnings after merge of the drm-misc tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Aug 14, 2015 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the drm-misc tree, today's linux-next build (arm multi_v7_defconfig) produced these warnings:

drivers/gpu/drm/exynos/exynos_drm_drv.c:290:2: warning: initialization from incompatible pointer type
.get_vblank_counter = drm_vblank_count,
^
drivers/gpu/drm/exynos/exynos_drm_drv.c:290:2: warning: (near initialization for 'exynos_drm_driver.get_vblank_counter') drivers/gpu/drm/rcar-du/rcar_du_drv.c:262:2: warning: initialization from incompatible pointer type
.get_vblank_counter = drm_vblank_count,
^
drivers/gpu/drm/rcar-du/rcar_du_drv.c:262:2: warning: (near initialization for 'rcar_du_driver.get_vblank_counter') drivers/gpu/drm/msm/msm_drv.c:981:2: warning: initialization from incompatible pointer type
.get_vblank_counter = drm_vblank_count,
^
drivers/gpu/drm/msm/msm_drv.c:981:2: warning: (near initialization for 'msm_driver.get_vblank_counter')

Introduced by commit

b90180b057f7 ("drm/irq: More pipe/crtc consistency cleanups")

Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]
#1 lore raw
Quoted 18 lines · Stephen Rothwell

Hi all,

After merging the drm-misc tree, today's linux-next build (arm multi_v7_defconfig) produced these warnings:

drivers/gpu/drm/exynos/exynos_drm_drv.c:290:2: warning: initialization from incompatible pointer type
.get_vblank_counter = drm_vblank_count,
^
drivers/gpu/drm/exynos/exynos_drm_drv.c:290:2: warning: (near initialization for 'exynos_drm_driver.get_vblank_counter') drivers/gpu/drm/rcar-du/rcar_du_drv.c:262:2: warning: initialization from incompatible pointer type
.get_vblank_counter = drm_vblank_count,
^
drivers/gpu/drm/rcar-du/rcar_du_drv.c:262:2: warning: (near initialization for 'rcar_du_driver.get_vblank_counter') drivers/gpu/drm/msm/msm_drv.c:981:2: warning: initialization from incompatible pointer type
.get_vblank_counter = drm_vblank_count,
^
drivers/gpu/drm/msm/msm_drv.c:981:2: warning: (near initialization for 'msm_driver.get_vblank_counter')

Quoted 3 lines

Introduced by commit

b90180b057f7 ("drm/irq: More pipe/crtc consistency cleanups")

Yes, that patch turned out to be incomplete. Daniel suggested to remove it from drm-misc for now and I'll address this fully in a larger patch for 4.4.

Thierry

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx