Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_free_reserved_memory() API

2010-08-26 Thread Marin Mitov
On Thursday, August 26, 2010 08:40:47 am FUJITA Tomonori wrote: On Fri, 20 Aug 2010 14:50:12 +0300 Marin Mitov mi...@issp.bas.bg wrote: On Friday, August 20, 2010 11:35:06 am FUJITA Tomonori wrote: On Fri, 20 Aug 2010 11:13:45 +0300 Marin Mitov mi...@issp.bas.bg wrote: This

Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_free_reserved_memory() API

2010-08-26 Thread FUJITA Tomonori
On Thu, 26 Aug 2010 09:04:14 +0300 Marin Mitov mi...@issp.bas.bg wrote: On Thursday, August 26, 2010 08:40:47 am FUJITA Tomonori wrote: On Fri, 20 Aug 2010 14:50:12 +0300 Marin Mitov mi...@issp.bas.bg wrote: On Friday, August 20, 2010 11:35:06 am FUJITA Tomonori wrote: On Fri, 20

Re: dvb_usb_rtl2831u module cause oops on kernel 2.6.32 when loading

2010-08-26 Thread Jan Hoogenraad
Thomas: Douglas has put a lot of backports into this development branch. Also, I fixed a bug that may have caused part of the problem. Can you check again with the current status ? tho...@holzeisen.de wrote: I did a fresh compile with this version, but it didnt do the trick. I am still

ir_codes_dibusb_table : please make table length a constant

2010-08-26 Thread Jan Hoogenraad
During debugging a driver, I found that at least in linux/drivers/media/dvb/dvb-usb/dibusb-mc.c the length of ir_codes_dibusb_table was referring to an older version. This may have caused memory overrun problems I have fixed this in my branch in linux/drivers/media/dvb/dvb-usb/dibusb.h

Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_free_reserved_memory() API

2010-08-26 Thread Marin Mitov
On Thursday, August 26, 2010 09:24:19 am FUJITA Tomonori wrote: On Thu, 26 Aug 2010 09:04:14 +0300 Marin Mitov mi...@issp.bas.bg wrote: On Thursday, August 26, 2010 08:40:47 am FUJITA Tomonori wrote: On Fri, 20 Aug 2010 14:50:12 +0300 Marin Mitov mi...@issp.bas.bg wrote: On

Re: [omap3camera] How does a lens subdevice get powered up?

2010-08-26 Thread Laurent Pinchart
Hi Sergio, On Wednesday 25 August 2010 22:15:36 Aguirre, Sergio wrote: Hi Laurent, I see that usually a sensor is powered up on attempting a VIDIOC_STREAMON at the capture endpoint of the pipeline, in which the sensor is linked. Now, what I don't understand quite well is, the Lens driver

Re: [PATCH v4 2/5] MFD: WL1273 FM Radio: MFD driver for the FM radio.

2010-08-26 Thread Matti J. Aaltonen
Hi. On Wed, 2010-08-25 at 23:20 +0200, ext Pavan Savoy wrote: I'm sorry for not answering to you earlier. But I don't have my own public repository. But to create the whole thing is extremely simple: just take the current mainline tree and apply my patches on top of it... Yep,

Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator framework

2010-08-26 Thread Peter Zijlstra
On Thu, 2010-08-26 at 03:28 +0200, Michał Nazarewicz wrote: On Fri, 20 Aug 2010 15:15:10 +0200, Peter Zijlstra pet...@infradead.org wrote: So the idea is to grab a large chunk of memory at boot time and then later allow some device to use it? I'd much rather we'd improve the regular

Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator framework

2010-08-26 Thread Peter Zijlstra
On Thu, 2010-08-26 at 04:40 +0200, Michał Nazarewicz wrote: I think that the biggest problem is fragmentation here. For instance, I think that a situation where there is enough free space but it's fragmented so no single contiguous chunk can be allocated is a serious problem. However, I

Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator framework

2010-08-26 Thread Peter Zijlstra
On Thu, 2010-08-26 at 11:49 +0900, Minchan Kim wrote: But one of problems is anonymous page which can be has a role of pinned page in non-swapsystem. Well, compaction can move those around, but if you've got too many of them its a simple matter of over-commit and for that we've got the

[PATCH v8 1/5] V4L2: Add seek spacing and FM RX class.

2010-08-26 Thread Matti J. Aaltonen
Add spacing field to v4l2_hw_freq_seek and also add FM RX class to control classes. Signed-off-by: Matti J. Aaltonen matti.j.aalto...@nokia.com --- drivers/media/video/v4l2-ctrls.c | 12 include/linux/videodev2.h| 15 ++- 2 files changed, 26 insertions(+), 1

[PATCH v8 2/5] MFD: WL1273 FM Radio: MFD driver for the FM radio.

2010-08-26 Thread Matti J. Aaltonen
This is a parent for two child drivers: a V4L2 driver and an ALSA codec driver. The MFD part implements I2C communication to the device and provides a couple of functions that are called from both children. Signed-off-by: Matti J. Aaltonen matti.j.aalto...@nokia.com --- drivers/mfd/wl1273-core.c

[PATCH v8 5/5] Documentation: v4l: Add hw_seek spacing and FM_RX class

2010-08-26 Thread Matti J. Aaltonen
Add a couple of words about the spacing field in ithe HW seek struct and about the new FM RX control class. Signed-off-by: Matti J. Aaltonen matti.j.aalto...@nokia.com --- Documentation/DocBook/v4l/controls.xml | 71 .../DocBook/v4l/vidioc-s-hw-freq-seek.xml

[PATCH v8 4/5] V4L2: WL1273 FM Radio: Controls for the FM radio.

2010-08-26 Thread Matti J. Aaltonen
This driver implements V4L2 controls for the Texas Instruments WL1273 FM Radio. Signed-off-by: Matti J. Aaltonen matti.j.aalto...@nokia.com --- drivers/media/radio/Kconfig| 15 + drivers/media/radio/Makefile |1 + drivers/media/radio/radio-wl1273.c | 1947

[PATCH v8 3/5] ASoC: WL1273 FM Radio Digital audio codec.

2010-08-26 Thread Matti J. Aaltonen
The codec handles digital audio input to and output from the WL1273 FM radio. Signed-off-by: Matti J. Aaltonen matti.j.aalto...@nokia.com --- sound/soc/codecs/Kconfig |6 + sound/soc/codecs/Makefile |2 + sound/soc/codecs/wl1273.c | 593 +

[PATCH v8 0/5] TI WL1273 FM Radio driver.

2010-08-26 Thread Matti J. Aaltonen
Hello, and thank you for the comments. The audio codec has been accepted on the ALSA list... I've converted the driver to the new control framework as Hans strongly suggested. P.S. I thought that I sent the patches on the day I created them, but something clearly went wrong here... Hans

Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_free_reserved_memory() API

2010-08-26 Thread Guennadi Liakhovetski
On Thu, 26 Aug 2010, FUJITA Tomonori wrote: On Thu, 26 Aug 2010 09:04:14 +0300 Marin Mitov mi...@issp.bas.bg wrote: On Thursday, August 26, 2010 08:40:47 am FUJITA Tomonori wrote: On Fri, 20 Aug 2010 14:50:12 +0300 Marin Mitov mi...@issp.bas.bg wrote: On Friday, August 20,

Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_free_reserved_memory() API

2010-08-26 Thread Uwe Kleine-König
Hello, On Thu, Aug 26, 2010 at 11:06:20AM +0200, Guennadi Liakhovetski wrote: On Thu, 26 Aug 2010, FUJITA Tomonori wrote: On Thu, 26 Aug 2010 09:04:14 +0300 Marin Mitov mi...@issp.bas.bg wrote: On Thursday, August 26, 2010 08:40:47 am FUJITA Tomonori wrote: On Fri, 20 Aug 2010

Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator framework

2010-08-26 Thread Minchan Kim
On Thu, Aug 26, 2010 at 5:20 PM, Peter Zijlstra pet...@infradead.org wrote: On Thu, 2010-08-26 at 11:49 +0900, Minchan Kim wrote: But one of problems is anonymous page which can be has a role of pinned page in non-swapsystem. Well, compaction can move those around, but if you've got too many

Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_free_reserved_memory() API

2010-08-26 Thread FUJITA Tomonori
On Thu, 26 Aug 2010 11:06:20 +0200 (CEST) Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: On Thu, 26 Aug 2010, FUJITA Tomonori wrote: On Thu, 26 Aug 2010 09:04:14 +0300 Marin Mitov mi...@issp.bas.bg wrote: On Thursday, August 26, 2010 08:40:47 am FUJITA Tomonori wrote: On Fri,

Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator framework

2010-08-26 Thread Minchan Kim
On Thu, Aug 26, 2010 at 1:30 PM, KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com wrote: On Thu, 26 Aug 2010 13:06:28 +0900 Minchan Kim minchan@gmail.com wrote: On Thu, Aug 26, 2010 at 12:44 PM, KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com wrote: On Thu, 26 Aug 2010 11:50:17 +0900

Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_free_reserved_memory() API

2010-08-26 Thread FUJITA Tomonori
On Thu, 26 Aug 2010 10:01:52 +0300 Marin Mitov mi...@issp.bas.bg wrote: If you add something to the videobuf-dma-contig API, that's fine by me because drivers/media/video/videobuf-dma-contig.c uses the own structure and plays with dma_alloc_coherent. As long as a driver doesn't touch

Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_free_reserved_memory() API

2010-08-26 Thread Guennadi Liakhovetski
On Thu, 26 Aug 2010, FUJITA Tomonori wrote: Why can't you revert a commit that causes the regression? See this reply, and the complete thread too. http://marc.info/?l=linux-shm=128130485208262w=2 The related DMA API wasn't changed in 2.6.36-rc1. The DMA API is not responsible for the

Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_free_reserved_memory() API

2010-08-26 Thread FUJITA Tomonori
On Thu, 26 Aug 2010 11:45:58 +0200 (CEST) Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: On Thu, 26 Aug 2010, FUJITA Tomonori wrote: Why can't you revert a commit that causes the regression? See this reply, and the complete thread too.

Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_free_reserved_memory() API

2010-08-26 Thread Uwe Kleine-König
On Thu, Aug 26, 2010 at 06:30:02PM +0900, FUJITA Tomonori wrote: On Thu, 26 Aug 2010 11:06:20 +0200 (CEST) Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: On Thu, 26 Aug 2010, FUJITA Tomonori wrote: On Thu, 26 Aug 2010 09:04:14 +0300 Marin Mitov mi...@issp.bas.bg wrote:

Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_free_reserved_memory() API

2010-08-26 Thread FUJITA Tomonori
On Thu, 26 Aug 2010 11:53:11 +0200 Uwe Kleine-K$(D+S(Bnig u.kleine-koe...@pengutronix.de wrote: We have currently a number of boards broken in the mainline. They must be fixed for 2.6.36. I don't think the mentioned API will do this for us. So, as I suggested earlier, we need

Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator framework

2010-08-26 Thread Peter Zijlstra
On Thu, 2010-08-26 at 18:29 +0900, Minchan Kim wrote: As I said following mail, I said about free space problem. Of course, compaction could move anon pages into somewhere. What's is somewhere? At last, it's same zone. It can prevent fragment problem but not size of free space. So I mean it

Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator framework

2010-08-26 Thread Mel Gorman
On Fri, Aug 20, 2010 at 03:15:10PM +0200, Peter Zijlstra wrote: On Fri, 2010-08-20 at 11:50 +0200, Michal Nazarewicz wrote: Hello everyone, The following patchset implements a Contiguous Memory Allocator. For those who have not yet stumbled across CMA an excerpt from documentation:

Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_free_reserved_memory() API

2010-08-26 Thread Marin Mitov
On Thursday, August 26, 2010 12:43:22 pm FUJITA Tomonori wrote: On Thu, 26 Aug 2010 10:01:52 +0300 Marin Mitov mi...@issp.bas.bg wrote: If you add something to the videobuf-dma-contig API, that's fine by me because drivers/media/video/videobuf-dma-contig.c uses the own structure and

Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator framework

2010-08-26 Thread Mel Gorman
On Thu, Aug 26, 2010 at 04:40:46AM +0200, Micha?? Nazarewicz wrote: Hello Andrew, I think Pawel has replied to most of your comments, so I'll just add my own 0.02 KRW. ;) Peter Zijlstra pet...@infradead.org wrote: So the idea is to grab a large chunk of memory at boot time and then later

Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_free_reserved_memory() API

2010-08-26 Thread Marin Mitov
On Thursday, August 26, 2010 12:17:25 pm Uwe Kleine-König wrote: Hello, On Thu, Aug 26, 2010 at 11:06:20AM +0200, Guennadi Liakhovetski wrote: On Thu, 26 Aug 2010, FUJITA Tomonori wrote: On Thu, 26 Aug 2010 09:04:14 +0300 Marin Mitov mi...@issp.bas.bg wrote: On Thursday,

Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator framework

2010-08-26 Thread Minchan Kim
On Thu, Aug 26, 2010 at 7:06 PM, Peter Zijlstra pet...@infradead.org wrote: On Thu, 2010-08-26 at 18:29 +0900, Minchan Kim wrote: As I said following mail, I said about free space problem. Of course, compaction could move anon pages into somewhere. What's is somewhere? At last, it's same zone.

Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator framework

2010-08-26 Thread Peter Zijlstra
Even more offtopic ;-) On Thu, 2010-08-26 at 19:21 +0900, Minchan Kim wrote: I agree highmem isn't a gorgeous. But my desktop isn't real machine? Important thing is that we already have a highmem and many guys include you(kmap stacking patch :))try to improve highmem problems. :) I have

RE: [omap3camera] How does a lens subdevice get powered up?

2010-08-26 Thread Aguirre, Sergio
Hi Laurent, -Original Message- From: Laurent Pinchart [mailto:laurent.pinch...@ideasonboard.com] Sent: Thursday, August 26, 2010 2:31 AM To: Aguirre, Sergio Cc: linux-media@vger.kernel.org; Nataraju, Kiran Subject: Re: [omap3camera] How does a lens subdevice get powered up? Hi

Re: [omap3camera] How does a lens subdevice get powered up?

2010-08-26 Thread Laurent Pinchart
Hi Sergio, On Thursday 26 August 2010 16:54:37 Aguirre, Sergio wrote: On Thursday, August 26, 2010 2:31 AM Laurent Pinchart wrote: On Wednesday 25 August 2010 22:15:36 Aguirre, Sergio wrote: I see that usually a sensor is powered up on attempting a VIDIOC_STREAMON at the capture

saa7164 analog driver crash

2010-08-26 Thread James Crow
First of all I would like to thank Steven Toth for working on the driver for the HVR-2250 cards. I bought one some time ago as an eventual replacement for mt PVR-500 and it seems that time may be approaching. I noticed that analog support had been added and wanted to try it out. Second, I hope

RE: [omap3camera] How does a lens subdevice get powered up?

2010-08-26 Thread Aguirre, Sergio
Hi Laurent, -Original Message- From: Laurent Pinchart [mailto:laurent.pinch...@ideasonboard.com] Sent: Thursday, August 26, 2010 10:04 AM To: Aguirre, Sergio Cc: linux-media@vger.kernel.org; Nataraju, Kiran Subject: Re: [omap3camera] How does a lens subdevice get powered up? Hi

Re: [omap3camera] How does a lens subdevice get powered up?

2010-08-26 Thread Laurent Pinchart
Hi Sergio, On Thursday 26 August 2010 17:33:28 Aguirre, Sergio wrote: On Thursday, August 26, 2010 10:04 AM Laurent Pinchart wrote: Even if not part of the image pipeline, the lens controller is still part of the media device. I think it makes sense to expose it as an entity and a V4L2

RE: [omap3camera] How does a lens subdevice get powered up?

2010-08-26 Thread Aguirre, Sergio
Hi Laurent, -Original Message- From: Laurent Pinchart [mailto:laurent.pinch...@ideasonboard.com] Sent: Thursday, August 26, 2010 10:36 AM To: Aguirre, Sergio Cc: linux-media@vger.kernel.org; Nataraju, Kiran Subject: Re: [omap3camera] How does a lens subdevice get powered up? Hi

Re: dvb_usb_rtl2831u module cause oops on kernel 2.6.32 when loading

2010-08-26 Thread Thomas Holzeisen
Hi Jan, this looks great. At first the checkout did not build throwing me this error: /usr/src/rtl2831-r2/v4l/ir-sysfs.c: In function 'store_protocols': /usr/src/rtl2831-r2/v4l/ir-sysfs.c:137: error: implicit declaration of function 'skip_spaces' /usr/src/rtl2831-r2/v4l/ir-sysfs.c:137:

Re: saa7164 analog driver crash

2010-08-26 Thread Steven Toth
On 8/26/10 11:23 AM, James Crow wrote: First of all I would like to thank Steven Toth for working on the driver for the HVR-2250 cards. I bought one some time ago as an eventual replacement for mt PVR-500 and it seems that time may be approaching. I noticed that analog support had been added and

RE: OMAP ISP and Overlay

2010-08-26 Thread Hiremath, Vaibhav
-Original Message- From: linux-media-ow...@vger.kernel.org [mailto:linux-media- ow...@vger.kernel.org] On Behalf Of Laurent Pinchart Sent: Wednesday, August 25, 2010 2:56 PM To: Lane Brooks Cc: linux-media@vger.kernel.org Subject: Re: OMAP ISP and Overlay Hi Lane, On Tuesday

Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_free_reserved_memory() API

2010-08-26 Thread Russell King - ARM Linux
On Thu, Aug 26, 2010 at 06:51:48PM +0900, FUJITA Tomonori wrote: On Thu, 26 Aug 2010 11:45:58 +0200 (CEST) Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: On Thu, 26 Aug 2010, FUJITA Tomonori wrote: Why can't you revert a commit that causes the regression? See this reply, and

Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_free_reserved_memory() API

2010-08-26 Thread Russell King - ARM Linux
On Thu, Aug 26, 2010 at 07:00:24PM +0900, FUJITA Tomonori wrote: On Thu, 26 Aug 2010 11:53:11 +0200 Uwe Kleine-König u.kleine-koe...@pengutronix.de wrote: We have currently a number of boards broken in the mainline. They must be fixed for 2.6.36. I don't think the mentioned API

Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_free_reserved_memory() API

2010-08-26 Thread Marin Mitov
On Thursday, August 26, 2010 08:49:09 pm Russell King - ARM Linux wrote: On Thu, Aug 26, 2010 at 06:51:48PM +0900, FUJITA Tomonori wrote: On Thu, 26 Aug 2010 11:45:58 +0200 (CEST) Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: On Thu, 26 Aug 2010, FUJITA Tomonori wrote: Why

[cron job] v4l-dvb daily build 2.6.26 and up: ERRORS

2010-08-26 Thread Hans Verkuil
This message is generated daily by a cron job that builds v4l-dvb for the kernels and architectures in the list below. Results of the daily build of v4l-dvb: date:Thu Aug 26 19:00:24 CEST 2010 path:http://www.linuxtv.org/hg/v4l-dvb changeset: 15138:a4c762698bcb git master:

Re: [PATCH 0/3] Proposed ir-core (rc-core) changes

2010-08-26 Thread Jarod Wilson
On Wed, Aug 25, 2010 at 01:01:57AM +0200, David Härdeman wrote: The following series merges the different files that currently make up the ir-core module into a single-file rc-core module. In addition, the ir_input_dev and ir_dev_props structs are replaced by a single rc_dev struct with an

Re: [PATCH] cx88: convert core-tvaudio into an enum

2010-08-26 Thread Marton Balint
On Mon, 23 Aug 2010, lawrence rust wrote: Using an enum and removing the default case from switch statements accessing the value enables the compiler to emit a warning (enabled with -Wall) when an audio mode is not handled. This highlights an omission in the function

HG has errors on kernel 2.6.32

2010-08-26 Thread Jan Hoogenraad
Douglas: I see on that http://www.xs4all.nl/~hverkuil/logs/Thursday.log that building linux-2.6.32 yields ERRORS skip_spaces has only been included in string.h starting from linux-2.6.33. Should I have a look on how to fix this, or do you want to do this ? -- second request: can we do some

Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_free_reserved_memory() API

2010-08-26 Thread FUJITA Tomonori
On Thu, 26 Aug 2010 18:54:40 +0100 Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Thu, Aug 26, 2010 at 07:00:24PM +0900, FUJITA Tomonori wrote: On Thu, 26 Aug 2010 11:53:11 +0200 Uwe Kleine-K$(D+S(Bnig u.kleine-koe...@pengutronix.de wrote: We have currently a number of

Re: ir_codes_dibusb_table : please make table length a constant

2010-08-26 Thread Mauro Carvalho Chehab
Em 26-08-2010 03:53, Jan Hoogenraad escreveu: During debugging a driver, I found that at least in linux/drivers/media/dvb/dvb-usb/dibusb-mc.c the length of ir_codes_dibusb_table was referring to an older version. This may have caused memory overrun problems I have fixed this in my

Re: [PATCH/RFCv4 2/6] mm: cma: Contiguous Memory Allocator added

2010-08-26 Thread Michał Nazarewicz
An important consideration is if the alignment is always a natural alignment? i.e. a 64K buffer must be 64K aligned, 128K must be 128K aligned etc. I ask because the buddy allocator is great at granting natural alignments but is difficult to work with for other alignments. I'm not sure what you

Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator framework

2010-08-26 Thread Michał Nazarewicz
On Thu, 26 Aug 2010 10:17:07 +0200, Peter Zijlstra pet...@infradead.org wrote: So why not work on the page allocator to improve its contiguous allocation behaviour. If you look at the thing you'll find pageblocks and migration types. If you change it so that you pin the migration type of one or

Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_free_reserved_memory() API

2010-08-26 Thread Uwe Kleine-König
Hello, On Thu, Aug 26, 2010 at 07:00:24PM +0900, FUJITA Tomonori wrote: On Thu, 26 Aug 2010 11:53:11 +0200 Uwe Kleine-König u.kleine-koe...@pengutronix.de wrote: We have currently a number of boards broken in the mainline. They must be fixed for 2.6.36. I don't think the

Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_free_reserved_memory() API

2010-08-26 Thread FUJITA Tomonori
On Fri, 27 Aug 2010 06:41:42 +0200 Uwe Kleine-K$(D+S(Bnig u.kleine-koe...@pengutronix.de wrote: Hello, On Thu, Aug 26, 2010 at 07:00:24PM +0900, FUJITA Tomonori wrote: On Thu, 26 Aug 2010 11:53:11 +0200 Uwe Kleine-K$(D+S(Bnig u.kleine-koe...@pengutronix.de wrote: We have

Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_free_reserved_memory() API

2010-08-26 Thread Uwe Kleine-König
Hey, On Fri, Aug 27, 2010 at 02:00:17PM +0900, FUJITA Tomonori wrote: On Fri, 27 Aug 2010 06:41:42 +0200 Uwe Kleine-König u.kleine-koe...@pengutronix.de wrote: On Thu, Aug 26, 2010 at 07:00:24PM +0900, FUJITA Tomonori wrote: On Thu, 26 Aug 2010 11:53:11 +0200 Uwe Kleine-König

[PATCH 1/3] drivers/media/video/em28xx: Remove potential NULL dereference

2010-08-26 Thread Julia Lawall
If the NULL test is necessary, the initialization involving a dereference of the tested value should be moved after the NULL test. The sematic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // smpl @@ type T; expression E; identifier i,fld; statement S; @@ - T i =