RE: [patch] [media] mem2mem_testdev: unlock and return error code properly

2012-08-17 Thread Marek Szyprowski
Hi Dan, On Tuesday, August 14, 2012 8:59 AM Dan Carpenter wrote: We recently added locking to this function, but there was an error path which accidentally returned holding a lock. Also we returned zero on failure on some paths instead of the error code. Signed-off-by: Dan Carpenter

[patch] [media] mem2mem_testdev: unlock and return error code properly

2012-08-14 Thread Dan Carpenter
We recently added locking to this function, but there was an error path which accidentally returned holding a lock. Also we returned zero on failure on some paths instead of the error code. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com --- Applies to linux-next. diff --git