mbox series

[0/2] cpuidle: qcom-spm: fix resource release in spm_cpuidle_register

Message ID 20241030-cpuidle-qcom-spm-cleanup-v1-0-04416fcca7de@gmail.com (mailing list archive)
Headers show
Series cpuidle: qcom-spm: fix resource release in spm_cpuidle_register | expand

Message

Javier Carrasco Oct. 30, 2024, 6:38 a.m. UTC
This series addresses two issues in spm_cpuidle_register: a missing
device_node release in an error path, and releasing a reference to a
device after its usage.

These issues were found while analyzing the code, and the patches have
been successfully compiled and statically analyzed, but not tested on
real hardware as I don't have access to it. Any volunteering for testing
is always more than welcome.

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
---
Javier Carrasco (2):
      cpuidle: qcom-spm: fix device node release in spm_cpuidle_register
      cpuidle: qcom-spm: fix platform device release in spm_cpuidle_register

 drivers/cpuidle/cpuidle-qcom-spm.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
---
base-commit: 6fb2fa9805c501d9ade047fc511961f3273cdcb5
change-id: 20241029-cpuidle-qcom-spm-cleanup-6f03669bcd70

Best regards,