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

From: Stephen Rothwell
Date: Thu Nov 24 2011 - 20:50:22 EST


Hi Dave,

On Wed, 16 Nov 2011 11:30:07 +1100 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> After merging the drm tree, today's linux-next build (x86_64 allmodconfig)
> failed like this:
>
> drivers/staging/gma500/framebuffer.c: In function 'psb_user_framebuffer_create':
> drivers/staging/gma500/framebuffer.c:558:44: error: 'struct drm_mode_fb_cmd2' has no member named 'handle'
>
> Caused by commit 308e5bcbdb10 ("drm: add an fb creation ioctl that takes
> a pixel format v5"). Please build test *before* publishing code. :-(
>
> I have used the drm tree from next-20111115 for today.
>
> I also get the following warnings in that file:
>
> drivers/staging/gma500/framebuffer.c: In function 'psb_framebuffer_init':
> drivers/staging/gma500/framebuffer.c:297:2: warning: passing argument 2 of 'drm_helper_mode_fill_fb_struct' from incompatible pointer type [enabled by default]
> include/drm/drm_crtc_helper.h:121:12: note: expected 'struct drm_mode_fb_cmd2 *' but argument is of type 'struct drm_mode_fb_cmd *'
> drivers/staging/gma500/framebuffer.c:564:2: warning: passing argument 2 of 'psb_framebuffer_create' from incompatible pointer type [enabled by default]
> drivers/staging/gma500/framebuffer.c:314:32: note: expected 'struct drm_mode_fb_cmd *' but argument is of type 'struct drm_mode_fb_cmd2 *'

Ping?
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature