[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.1111210922090.10414@axis700.grange>
Date: Mon, 21 Nov 2011 09:25:06 +0100 (CET)
From: Guennadi Liakhovetski <g.liakhovetski@....de>
To: Stephen Rothwell <sfr@...b.auug.org.au>
cc: Mauro Carvalho Chehab <mchehab@...hat.com>,
linux-next@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: linux-next: build warning after merge of the Linus' tree
Hi Stephen
On Mon, 21 Nov 2011, Stephen Rothwell wrote:
> 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.
soc-camera atm supports 7 platforms (if I haven't forgotten anyone), none
of them is 64-bit. But you're right, it shall compile cleanly on 64 bits
too, I'm working on a patch. Unfortunately, while working on it I came
across other regressions, that blocked my tests... But a solution will be
found.
Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists