Files
linux/drivers
Daniel Fu 6ae69a801b cpuidle: Check the result of cpuidle_get_driver() against NULL
commit 3b9c10e980 upstream.

If the current CPU has no cpuidle driver, drv will be NULL in
cpuidle_driver_ref().  Check if that is the case before trying
to bump up the driver's refcount to prevent the kernel from
crashing.

[rjw: Subject and changelog]
Signed-off-by: Daniel Fu <danifu@nvidia.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-04-14 06:42:15 -07:00
..
2013-12-08 07:29:25 -08:00
2014-04-03 12:01:05 -07:00
2014-04-14 06:42:14 -07:00
2014-03-06 21:30:14 -08:00
2014-02-22 12:41:27 -08:00
2014-02-20 11:06:11 -08:00
2014-02-13 13:48:03 -08:00
2014-02-22 12:41:27 -08:00
2014-04-03 12:01:05 -07:00
2013-12-20 07:45:11 -08:00