Re: dvb_usb_v2: use pointers to properties[REGRESSION]

2012-06-16 Thread Malcolm Priestley
On Sat, 2012-06-16 at 04:16 +0300, Antti Palosaari wrote: I did example for you, here you are :) On 06/16/2012 03:55 AM, Antti Palosaari wrote: On 06/16/2012 03:35 AM, Malcolm Priestley wrote: On Sat, 2012-06-16 at 01:54 +0300, Antti Palosaari wrote: Hello Malcolm, On 06/16/2012

re: V4L/DVB (12730): Add conexant cx25821 driver

2012-06-16 Thread Dan Carpenter
Hello Palash Bandyopadhyay, The patch 02b20b0b4cde: V4L/DVB (12730): Add conexant cx25821 driver from Sep 15, 2009, leads to the following warning: drivers/media/video/cx25821/cx25821-i2c.c:310 cx25821_i2c_register() error: memcpy() 'cx25821_i2c_algo_template' too small (24 vs 64)

Re: V4L/DVB (12730): Add conexant cx25821 driver

2012-06-16 Thread Dan Carpenter
Hm... There are several more places which have this same problem. I'm not sure what's going on here. drivers/media/video/saa7164/saa7164-i2c.c:112 saa7164_i2c_register() error: memcpy() 'saa7164_i2c_algo_template' too small (24 vs 64) drivers/media/video/cx23885/cx23885-i2c.c:321

Re: dvb_usb_v2: use pointers to properties[REGRESSION]

2012-06-16 Thread Antti Palosaari
On 06/16/2012 03:06 PM, Malcolm Priestley wrote: On Sat, 2012-06-16 at 04:16 +0300, Antti Palosaari wrote: I did example for you, here you are :) On 06/16/2012 03:55 AM, Antti Palosaari wrote: On 06/16/2012 03:35 AM, Malcolm Priestley wrote: On Sat, 2012-06-16 at 01:54 +0300, Antti Palosaari

RE: V4L/DVB (12730): Add conexant cx25821 driver

2012-06-16 Thread Palash Bandyopadhyay
Thanks Dan. Let me take a look and get back to you. Rgds, Palash From: Dan Carpenter [dan.carpen...@oracle.com] Sent: Saturday, June 16, 2012 6:16 AM To: Palash Bandyopadhyay; mche...@redhat.com Cc: linux-media@vger.kernel.org Subject: re: V4L/DVB

Re: V4L/DVB (12730): Add conexant cx25821 driver

2012-06-16 Thread Ezequiel Garcia
Hi everyone, On Sat, Jun 16, 2012 at 10:35 AM, Dan Carpenter dan.carpen...@oracle.com wrote: Hm...  There are several more places which have this same problem. I'm not sure what's going on here. drivers/media/video/saa7164/saa7164-i2c.c:112 saa7164_i2c_register() error: memcpy()

cron job: media_tree daily build: WARNINGS

2012-06-16 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date:Sat Jun 16 19:00:20 CEST 2012 git hash:5472d3f17845c4398c6a510b46855820920c2181 gcc version: i686-linux-gcc

Re: dvb_usb_v2: use pointers to properties[REGRESSION]

2012-06-16 Thread Malcolm Priestley
On Sat, 2012-06-16 at 18:52 +0300, Antti Palosaari wrote: On 06/16/2012 03:06 PM, Malcolm Priestley wrote: On Sat, 2012-06-16 at 04:16 +0300, Antti Palosaari wrote: I did example for you, here you are :) On 06/16/2012 03:55 AM, Antti Palosaari wrote: On 06/16/2012 03:35 AM, Malcolm

Re: dvb_usb_v2: use pointers to properties[REGRESSION]

2012-06-16 Thread Antti Palosaari
On 06/16/2012 09:12 PM, Malcolm Priestley wrote: On Sat, 2012-06-16 at 18:52 +0300, Antti Palosaari wrote: On 06/16/2012 03:06 PM, Malcolm Priestley wrote: On Sat, 2012-06-16 at 04:16 +0300, Antti Palosaari wrote: I did example for you, here you are :) On 06/16/2012 03:55 AM, Antti Palosaari

Re: dvb_usb_v2: use pointers to properties[REGRESSION]

2012-06-16 Thread Malcolm Priestley
On Sat, 2012-06-16 at 21:41 +0300, Antti Palosaari wrote: That is what you want to do: CALLBACK(struct dvb_usb_adapter *adap) { struct dvb_frontend *fe = adap-fe[adap-active_fe]; // now we have pointer to adap and fe } That is what I want to do:

Re: dvb_usb_v2: use pointers to properties[REGRESSION]

2012-06-16 Thread Antti Palosaari
On 06/16/2012 11:17 PM, Malcolm Priestley wrote: On Sat, 2012-06-16 at 21:41 +0300, Antti Palosaari wrote: That is what you want to do: CALLBACK(struct dvb_usb_adapter *adap) { struct dvb_frontend *fe = adap-fe[adap-active_fe]; // now we have pointer to

Re: [GIT PULL FOR 3.6] V4L2 API cleanups

2012-06-16 Thread Laurent Pinchart
Hi Sakari, On Monday 11 June 2012 12:39:44 Sakari Ailus wrote: On Mon, Jun 11, 2012 at 09:50:54AM +0200, Laurent Pinchart wrote: On Sunday 10 June 2012 23:22:59 Sakari Ailus wrote: Hi Mauro, Here are two V4L2 API cleanup patches; the first removes __user from videodev2.h from a