Re: [PATCH stable 3.4] intel_idle: Check cpu_idle_get_driver() for NULL before dereferencing it.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 08, 2014 at 08:53:03AM -0700, Greg KH wrote:
> On Tue, Apr 08, 2014 at 05:36:08PM +0200, Daniel Kiper wrote:
> > On Tue, Apr 08, 2014 at 08:23:33AM -0700, Greg KH wrote:
> > > On Tue, Apr 08, 2014 at 01:20:36PM +0200, Daniel Kiper wrote:
> > > > Hey,
> > > >
> > > > On Tue, Mar 25, 2014 at 11:00:34PM +0100, Daniel Kiper wrote:
> > > > > From: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
> > > > >
> > > > > From: Daniel Kiper <daniel.kiper@xxxxxxxxxx>
> > > > >
> > > > > Upstream commit: 3735d524da64b70b41c764359da36f88aded3610
> > > > >
> > > > > If the machine is booted without any cpu_idle driver set
> > > > > (b/c disable_cpuidle() has been called) we should follow
> > > > > other users of cpu_idle API and check the return value
> > > > > for NULL before using it.
> > > > >
> > > > > Reported-and-tested-by: Mark van Dijk <mark@xxxxxxxxxxxxxx>
> > > > > Suggested-by: Jan Beulich <JBeulich@xxxxxxxx>
> > > > > Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
> > > > > Signed-off-by: Rafael J. Wysocki <rjw@xxxxxxx>
> > > >
> > > > Is it possible to make it part 3.4 too?
> > > > Should I fix something to do that?
> > >
> > > I'm sorry, but I do not understand the questions, what do you want to do
> > > here?
> >
> > Sorry for confusion. Could you apply this patch to 3.4 tree?
>
> Yes, it's in my queue to get to when I do the next 3.4-stable tree,
> there are a bunch of other patches ahead of yours.  Don't worry, it's
> not lost.

Thanks. Great...

Daniel
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]