Messages in this thread | | | Date | Tue, 23 Nov 2010 09:56:35 +0100 | From | Uwe Kleine-König <> | Subject | Re: [stable] [PATCH] backlight: grab ops_lock before testing bd->ops |
| |
Hi Greg,
On Mon, Nov 22, 2010 at 09:53:32AM -0800, Greg KH wrote: > 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@pengutronix.de> > > > > > > Acked-by: Richard Purdie <rpurdie@linux.intel.com> > > 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? I'll let you know when it hits his tree.
Best regards Uwe
-- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ | -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |