Re: [stable] [PATCH] backlight: grab ops_lock before testingbd->ops

From: Greg KH
Date: Mon Nov 22 2010 - 13:03:02 EST


On Mon, Nov 22, 2010 at 11:05:32AM +0100, Uwe Kleine-König wrote:
> Hello,
>
> On Mon, Nov 22, 2010 at 09:59:07AM +0000, Richard Purdie wrote:
> > On Mon, 2010-11-22 at 10:43 +0100, Uwe Kleine-König wrote:
> > > According to the comment describing ops_lock in the definition of
> > > struct backlight_device and when comparing with other functions in
> > > backlight.c the mutex must be hold when checking ops to be non-NULL.
> > >
> > > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
> >
> > Acked-by: Richard Purdie <rpurdie@xxxxxxxxxxxxxxx>
> The problem was introduced by c835ee7f4154992e6cf0674d7ee136f5d36247a4
> (that is in 2.6.29-rc1). Is this relevant for stable?

Yes.

What is the git commit id of the fix in Linus's tree?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/