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

From: Stephen Rothwell
Date: Mon Sep 07 2015 - 19:43:27 EST


Hi all,

On Thu, 3 Sep 2015 10:49:19 +1000 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> After merging the drm-misc tree, today's linux-next build (arm
> multi_v7_defconfig) failed like this:
>
> drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c: In function 'mdp5_plane_cleanup_fb':
> drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c:272:26: error: 'fb' redeclared as different kind of symbol
> struct drm_framebuffer *fb = old_state->fb;
> ^
> drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c:267:27: note: previous definition of 'fb' was here
> struct drm_framebuffer *fb,
> ^
> drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c: At top level:
> drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c:383:3: warning: initialization from incompatible pointer type
> .cleanup_fb = mdp5_plane_cleanup_fb,
> ^
> drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c:383:3: warning: (near initialization for 'mdp5_plane_helper_funcs.cleanup_fb')
>
> Caused by commit
>
> a317290af0db ("drm/atomic: Make prepare_fb/cleanup_fb only take state, v3")
>
> Well, that was clearly never build tested :-(
>
> I have used the drm-misc tree from next-20150902 for today.

This is still in today's linux-next :-(

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/