Qiushi Wu
42b548b9e9
cpuidle: Fix three reference count leaks
...
[ Upstream commit c343bf1ba5efcbf2266a1fe3baefec9cc82f867f ]
kobject_init_and_add() takes reference even when it fails.
If this function returns an error, kobject_put() must be called to
properly clean up the memory associated with the object.
Previous commit "b8eb718348b8" fixed a similar problem.
Signed-off-by: Qiushi Wu <wu000273@umn.edu>
[ rjw: Subject ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-06-20 10:24:18 +02:00
..
governors
cpuidle: menu: Fall back to polling if next timer event is near
2016-03-21 15:50:28 +01:00
coupled.c
cpuidle/coupled: Convert to hotplug state machine
2016-09-06 18:30:24 +02:00
cpuidle-arm.c
Merge branches 'pm-cpuidle', 'pm-opp' and 'pm-avs'
2016-10-02 01:43:16 +02:00
cpuidle-at91.c
drivers/cpuidle: Convert non-modular drivers to use builtin_platform_driver
2015-06-16 14:12:38 -04:00
cpuidle-big_little.c
cpuidle: big.LITTLE: fix refcount leak
2019-02-12 19:44:55 +01:00
cpuidle-calxeda.c
ARM: migrate to common PSCI client code
2015-08-03 15:38:39 +01:00
cpuidle-clps711x.c
drivers/cpuidle: make cpuidle-clps711x.c explicitly non-modular
2015-12-15 00:22:21 +01:00
cpuidle-cps.c
cpuidle: cpuidle-cps: Enable use with MIPSr6 CPUs.
2016-10-04 16:13:57 +02:00
cpuidle-exynos.c
drivers/cpuidle: make cpuidle-exynos.c explicitly non-modular
2015-12-15 00:22:22 +01:00
cpuidle-kirkwood.c
ARM: cpuidle: Remove duplicate header inclusion
2015-03-23 18:03:11 +01:00
cpuidle-mvebu-v7.c
cpuidle: mvebu: disable the bind/unbind attributes and use builtin_platform_driver
2015-10-23 12:40:48 +02:00
cpuidle-powernv.c
cpuidle: powernv: Fix promotion from snooze if next state disabled
2018-07-03 11:23:08 +02:00
cpuidle-pseries.c
powerpc/pseries/cpuidle: Fix preempt warning
2019-01-26 09:38:33 +01:00
cpuidle-ux500.c
drivers/cpuidle: make cpuidle-ux500.c explicitly non-modular
2015-12-15 00:22:22 +01:00
cpuidle-zynq.c
drivers/cpuidle: Convert non-modular drivers to use builtin_platform_driver
2015-06-16 14:12:38 -04:00
cpuidle.c
cpuidle: fix broadcast control when broadcast can not be entered
2017-12-25 14:23:46 +01:00
cpuidle.h
cpuidle/coupled: Add sanity check for safe_state_index
2015-09-03 03:05:47 +02:00
driver.c
cpuidle: Do not unset the driver if it is there already
2019-12-21 10:42:04 +01:00
dt_idle_states.c
cpuidle: dt: Add missing 'of_node_put()'
2018-04-13 19:48:28 +02:00
dt_idle_states.h
drivers: cpuidle: implement DT based idle states infrastructure
2014-09-25 10:52:20 +02:00
governor.c
cpuidle: Replace strnicmp with strncasecmp
2014-09-25 01:17:10 +02:00
Kconfig
cpuidle: Don't enable all governors by default
2016-01-15 22:39:58 +01:00
Kconfig.arm
ARM: cpuidle: Enable the ARM64 driver for both ARM32/ARM64
2015-03-24 10:16:11 +01:00
Kconfig.mips
cpuidle: cpuidle-cps: Enable use with MIPSr6 CPUs.
2016-10-04 16:13:57 +02:00
Kconfig.powerpc
powerpc/powernv/cpuidle: Back-end cpuidle driver for powernv platform.
2014-01-29 17:02:24 +11:00
Makefile
ARM: cpuidle: Enable the ARM64 driver for both ARM32/ARM64
2015-03-24 10:16:11 +01:00
sysfs.c
cpuidle: Fix three reference count leaks
2020-06-20 10:24:18 +02:00