* [PATCH] ov511: fix probe() hang due to double mutex_lock
@ 2009-12-11 1:04 Brandon Philips
2009-12-11 3:32 ` [stable] " Greg KH
0 siblings, 1 reply; 3+ messages in thread
From: Brandon Philips @ 2009-12-11 1:04 UTC (permalink / raw)
To: Mauro Carvalho Chehab; +Cc: linux-media, stable
Commit 163fe744c3283fd267268629afff4cfc846ed0e0 added a double
mutex_lock which hangs ov51x_probe(). This was clearly a typo.
Change final mutex_lock() -> mutex_unlock()
Signed-off-by: Brandon Philips <bphilips@suse.de>
---
drivers/media/video/ov511.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/media/video/ov511.c b/drivers/media/video/ov511.c
index 0bc2cf5..2bed9e2 100644
--- a/drivers/media/video/ov511.c
+++ b/drivers/media/video/ov511.c
@@ -5878,7 +5878,7 @@ ov51x_probe(struct usb_interface *intf, const struct usb_device_id *id)
goto error;
}
- mutex_lock(&ov->lock);
+ mutex_unlock(&ov->lock);
return 0;
--
1.6.4.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [stable] [PATCH] ov511: fix probe() hang due to double mutex_lock
2009-12-11 1:04 [PATCH] ov511: fix probe() hang due to double mutex_lock Brandon Philips
@ 2009-12-11 3:32 ` Greg KH
2009-12-11 20:42 ` Brandon Philips
0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2009-12-11 3:32 UTC (permalink / raw)
To: Brandon Philips; +Cc: Mauro Carvalho Chehab, stable, linux-media
On Thu, Dec 10, 2009 at 05:04:49PM -0800, Brandon Philips wrote:
> Commit 163fe744c3283fd267268629afff4cfc846ed0e0 added a double
> mutex_lock which hangs ov51x_probe(). This was clearly a typo.
>
> Change final mutex_lock() -> mutex_unlock()
>
> Signed-off-by: Brandon Philips <bphilips@suse.de>
Brandon, when you want patches to be added to the stable tree, just add
a:
Cc: stable <stable@kernel.org>
to the signed-off-by area of the patch. That way, when they get merged
into Linus's tree eventually, they will be automagically sent to the
stable@kernel.org alias, so I know to add it to the tree at that time.
It saves you time, and me time, so I don't have to go hunt for this
upstream sometime in the future.
thanks,
greg "i need more time saved" k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [stable] [PATCH] ov511: fix probe() hang due to double mutex_lock
2009-12-11 3:32 ` [stable] " Greg KH
@ 2009-12-11 20:42 ` Brandon Philips
0 siblings, 0 replies; 3+ messages in thread
From: Brandon Philips @ 2009-12-11 20:42 UTC (permalink / raw)
To: Greg KH; +Cc: Mauro Carvalho Chehab, stable, linux-media
On 19:32 Thu 10 Dec 2009, Greg KH wrote:
> On Thu, Dec 10, 2009 at 05:04:49PM -0800, Brandon Philips wrote:
> > Commit 163fe744c3283fd267268629afff4cfc846ed0e0 added a double
> > mutex_lock which hangs ov51x_probe(). This was clearly a typo.
> >
> > Change final mutex_lock() -> mutex_unlock()
> >
> > Signed-off-by: Brandon Philips <bphilips@suse.de>
>
> Brandon, when you want patches to be added to the stable tree, just add
> a:
> Cc: stable <stable@kernel.org>
> to the signed-off-by area of the patch. That way, when they get merged
> into Linus's tree eventually, they will be automagically sent to the
> stable@kernel.org alias, so I know to add it to the tree at that time.
>
> It saves you time, and me time, so I don't have to go hunt for this
> upstream sometime in the future.
That is a handy feature. It might be nice to document it in the
-stable documentation. See patch below for an attempt.
I will ping stable again on this patch once this reaches Linus's tree
so you don't need to track it. Sorry for messing up the stable
procedure. :D
Thanks,
Brandon
diff --git a/Documentation/stable_kernel_rules.txt b/Documentation/stable_kernel_rules.txt
index a452227..5d24504 100644
--- a/Documentation/stable_kernel_rules.txt
+++ b/Documentation/stable_kernel_rules.txt
@@ -36,6 +36,23 @@ Procedure for submitting patches to the -stable tree:
- Security patches should not be sent to this alias, but instead to the
documented security@kernel.org address.
+Submitting to -stable automatically upon reaching Linus's tree:
+
+ - As mentioned above, patches must be merged into Linus's tree before being
+ considered for -stable. But, if you are sending a patch for inclusion
+ into Linus's tree that you know you will eventually submit to -stable when
+ it is merged then you can save yourself the trouble of tracking the patch by
+ adding:
+
+ Cc: stable <stable@kernel.org>
+
+ in the signed-off-by area of the patch. Then once it is merged with Linus
+ an email with the patch will be sent to stable@kernel.org automatically.
+
+ This only works for patches that are for both -stable and Linus's tree at
+ the time of submission. If a fix has already made its way into Linus's tree
+ or a maintainer's queue for Linus's tree then follow the regular submission
+ rules outlined above.
Review cycle:
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-12-11 20:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-11 1:04 [PATCH] ov511: fix probe() hang due to double mutex_lock Brandon Philips
2009-12-11 3:32 ` [stable] " Greg KH
2009-12-11 20:42 ` Brandon Philips
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox