[PATCH] DVB/V4L: Fix Kconfig select/depend conflicts

2010-12-04 Thread Ben Hutchings
The selection of 'helper' drivers for peripheral chips can be done either automatically by the config entry for the controller chip in a device (default if !EMBEDDED) or manually if the user knows exactly which peripheral chips are used. The config entries for these helper drivers are completely

[PATCH v2] media: rc: ir-lirc-codec: fix integer overflow

2010-12-04 Thread Vasiliy Kulikov
'n' may be bigger than MAX_INT*sizeof(int), if so checking of truncated (int)(n/sizeof(int)) for LIRCBUF_SIZE overflows and then using nontruncated 'count' doesn't make sense. This is not a security issue as too big 'n' is catched in kmalloc() in memdup_user() call. However, it's better to

Re: [PATCH 09/10] MCDE: Add build files and bus

2010-12-04 Thread Alex Deucher
On Fri, Nov 26, 2010 at 6:24 AM, Arnd Bergmann a...@arndb.de wrote: [dri people: please have a look at the KMS discussion way below] On Thursday 25 November 2010 19:00:26 Marcus LORENTZON wrote: -Original Message- From: Arnd Bergmann [mailto:a...@arndb.de] Sent: den 25 november

Re: [PATCH 7/7] v4l: videobuf2: add CMA allocator

2010-12-04 Thread Pawel Osciak
Hi, please see my comments below. Also, if I could suggest something, please cut the code between functions, not inside them, it'll make it easier for others to find that location in the original code. On Wed, Dec 1, 2010 at 00:56, Marek Szyprowski m.szyprow...@samsung.com wrote: Hello, On

Re: RFC: Problem of using v4l2 spec with codec function

2010-12-04 Thread Pawel Osciak
Hi all, I would side with Laurent on this. Judging by formats seems to be enough for this driver and it has great, in my opinion, advantages of a) not overcomplicating things for applications b) not adding new pieces to the API... -- Best regards, Pawel Osciak -- To unsubscribe from this list:

New developer for RTL2832U DVB device

2010-12-04 Thread Maxim Levitsky
Good day, I would like to volunteer, to bring into the kernel, the support for Realtek DVB hardware. I need a word from Realtek about driver that is a direct port of windows driver. I need to know that if it is released under GPL compatible licence, which isn't clear today. Also I would like

Re: user accesses in ivtv-fileops.c:ivtv_v4l2_write ?

2010-12-04 Thread Dr. David Alan Gilbert
Andy Walls wrote: (Sorry, I've probably screwed up the threading on this) Dr. David Alan Gilbert wrote: Hi, Sparse pointed me at the following line in ivtv-fileops.c's ivtv_v4l2_write: ivtv_write_vbi(itv, (const struct v4l2_sliced_vbi_data *)user_buf, elems);