Re: [PATCH v2 04/18] cpufreq: brcmstb-avs-cpufreq: Use __free(put_cpufreq_policy) for policy reference

From
Viresh Kumar <viresh.kumar@linaro.org>
Date
2025-08-29 06:26:27
Also in
dri-devel, imx, intel-gfx, kvm, linux-acpi, linux-mediatek, linux-omap, linux-pm, linux-samsung-soc, linux-tegra, lkml
Reply to
Zihuan Zhang, 2025-08-29
On 29-08-25, 14:16, Zihuan Zhang wrote:
Thanks for applying the patch!

I’ve been thinking further — instead of using __free directly, maybe we
could introduce a small macro wrapper around it to make the release scope
more controllable and consistent.

Link:
https://lore.kernel.org/all/6174bcc8-30f5-479b-bac6-f42eb1232b4d@kylinos.cn/ (local)

Do you think this would be a better approach, or should we just stick with
the current use of __free?
Lets keep it simple for now and use __free directly. And keep this
similar with other parts of the kernel.

-- 
viresh
Thread (39 messages) 39 messages, 6 authors, last reply 2025-08-29
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help