Re: [PATCH for v3.6] v4l2-dev.c: Move video_put() after debug printk

2012-07-26 Thread Hans Verkuil
On Thu 26 July 2012 13:59:04 Ezequiel Garcia wrote: > It is possible that video_put() releases video_device struct, > provoking a panic when debug printk wants to get video_device node name. > > Signed-off-by: Ezequiel Garcia Acked-by: Hans Verkuil Good catch! Regards, Hans > --- >

[PATCH for v3.6] v4l2-dev.c: Move video_put() after debug printk

2012-07-26 Thread Ezequiel Garcia
It is possible that video_put() releases video_device struct, provoking a panic when debug printk wants to get video_device node name. Signed-off-by: Ezequiel Garcia --- drivers/media/video/v4l2-dev.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/med