lkml.org 
[lkml]   [2011]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectlinux-next: build warning after merge of the Linus' tree
Hi all,

Building Linus' tree today linux-next (x86_64_allmodconfig)
produced quite a few of these warnings:

include/media/soc_camera.h: In function 'soc_camera_i2c_to_vdev':
include/media/soc_camera.h:257:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]

This was introduced by commit 2f0babb7e432 ("[media] V4L: soc-camera:
make (almost) all client drivers re-usable outside of the framework").

This warning is caused by the "grp_id" member of "struct v4l2_subdev" -
which is a u32 - being cast to a pointer. That pointer is dereferenced,
so I have no idea how that is supposed to work on any 64 bit platform.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2011-11-21 03:19    [W:0.053 / U:0.716 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site