Re: [PATCH v3 02/12] ACPI: processor: thermal: Use scope-based cleanup helper

2025-09-03 Thread Rafael J. Wysocki
On Mon, Sep 1, 2025 at 10:58 AM Zihuan Zhang wrote: > > Replace the manual cpufreq_cpu_put() with __free(put_cpufreq_policy) > annotation for policy references. This reduces the risk of reference > counting mistakes and aligns the code with the latest kernel style. > > No functional change intende

[PATCH v3 02/12] ACPI: processor: thermal: Use scope-based cleanup helper

2025-09-01 Thread Zihuan Zhang
Replace the manual cpufreq_cpu_put() with __free(put_cpufreq_policy) annotation for policy references. This reduces the risk of reference counting mistakes and aligns the code with the latest kernel style. No functional change intended. Signed-off-by: Zihuan Zhang --- drivers/acpi/processor_the