linux-next: build warning after merge of the drm tree

From: Stephen Rothwell
Date: Sun Nov 27 2011 - 21:36:53 EST


Hi Dave,

After merging the drm tree, today's linux-next build (x86_64 allmodconfig)
produced this warning:

drivers/gpu/drm/gma500/framebuffer.c: In function 'psb_framebuffer_init':
drivers/gpu/drm/gma500/framebuffer.c:264: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 *'

Caused by commit 4d8d096e9ae8 ("gma500: introduce the framebuffer support
code") interacting with commit 308e5bcbdb10 ("drm: add an fb creation
ioctl that takes a pixel format v5"). The version in staging was fixed
up, but not this version (which should been done during commit
b63e0f9cb433 ("Merge branch 'drm-gma500-alanc' into drm-core-next")).

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

Attachment: pgp00000.pgp
Description: PGP signature