Re: [PATCH] viotape: Fix memory and semaphore leak

2009-08-13 Thread Michael Buesch
On Thursday 13 August 2009 07:00:03 Benjamin Herrenschmidt wrote: > On Sat, 2009-07-18 at 15:06 +0200, Michael Buesch wrote: > > This patch fixes a memory and semaphore leak in the viotape driver's > > char device write op. It leaks the DMA memory and the semaphore lock > > in case the device was o

Re: [PATCH] viotape: Fix memory and semaphore leak

2009-08-12 Thread Benjamin Herrenschmidt
On Sat, 2009-07-18 at 15:06 +0200, Michael Buesch wrote: > This patch fixes a memory and semaphore leak in the viotape driver's > char device write op. It leaks the DMA memory and the semaphore lock > in case the device was opened with O_NONBLOCK. > > This patch is only compile tested, because I d

[PATCH] viotape: Fix memory and semaphore leak

2009-07-18 Thread Michael Buesch
This patch fixes a memory and semaphore leak in the viotape driver's char device write op. It leaks the DMA memory and the semaphore lock in case the device was opened with O_NONBLOCK. This patch is only compile tested, because I do not have the hardware. Signed-off-by: Michael Buesch --- driv