diff options
author | gaurav jindal <gauravjindal1104@gmail.com> | 2018-01-05 16:01:30 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-01-05 16:01:30 +0300 |
commit | 3cfd68b5ba8737d28bfcf9b6487ea4d9216b8504 (patch) | |
tree | cf579ba6621e0b44c11f2a8afaa9138d56caa6ec /drivers/acpi | |
parent | 30a7acd573899fd8b8ac39236eff6468b195ac7d (diff) | |
download | linux-3cfd68b5ba8737d28bfcf9b6487ea4d9216b8504.tar.xz |
cpuidle: Avoid NULL argument in cpuidle_switch_governor()
Checks if the new governor is NULL before updating the
cupidle_curr_governor.
Signed-off-by: gaurav jindal <gauravjindal1104@gmail.com>
[ rjw : Subject ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi')
0 files changed, 0 insertions, 0 deletions