Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'pm+acpi-4.4-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

Pull power management and ACPI fixes from Rafael Wysocki:
"These fix an ACPI processor driver regression introduced during the
4.3 cycle and a mistake in the recently added SCPI support in the
arm_big_little cpufreq driver.

Specifics:

- Fix a thermal management issue introduced by an ACPI processor
driver change made during the 4.3 development cycle that failed to
return 0 from a function on success which triggered an error
cleanup path every time it had been called that deleted useful data
structures created previously (Srinivas Pandruvada).

- Fix a variable data type issue in the arm_big_little cpufreq
driver's SCPI support code added recently that prevents error
handling in there from working correctly (Dan Carpenter)"

* tag 'pm+acpi-4.4-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
cpufreq: scpi-cpufreq: signedness bug in scpi_get_dvfs_info()
ACPI / processor: Fix thermal cooling device regression

+3 -2
+2 -1
drivers/acpi/processor_driver.c
··· 200 200 goto err_remove_sysfs_thermal; 201 201 } 202 202 203 - sysfs_remove_link(&pr->cdev->device.kobj, "device"); 203 + return 0; 204 + 204 205 err_remove_sysfs_thermal: 205 206 sysfs_remove_link(&device->dev.kobj, "thermal_cooling"); 206 207 err_thermal_unregister:
+1 -1
drivers/cpufreq/scpi-cpufreq.c
··· 31 31 32 32 static struct scpi_dvfs_info *scpi_get_dvfs_info(struct device *cpu_dev) 33 33 { 34 - u8 domain = topology_physical_package_id(cpu_dev->id); 34 + int domain = topology_physical_package_id(cpu_dev->id); 35 35 36 36 if (domain < 0) 37 37 return ERR_PTR(-EINVAL);