Thread (118 messages) 118 messages, 8 authors, 2023-09-28

Re: [PATCH 00/37] Add new Renesas RZ/G3S SoC and RZ/G3S SMARC EVK

From: claudiu beznea <claudiu.beznea@tuxon.dev>
Date: 2023-09-13 05:40:51
Also in: linux-arm-kernel, linux-clk, linux-gpio, linux-mmc, linux-renesas-soc, linux-serial, lkml

Hi, Linus,

On 12.09.2023 12:05, Linus Walleij wrote:
On Tue, Sep 12, 2023 at 11:03 AM Geert Uytterhoeven
[off-list ref] wrote:
quoted
On Tue, Sep 12, 2023 at 10:55 AM Linus Walleij [off-list ref] wrote:
quoted
quoted
For new code try to use <linux/cleanup.h>.
Or if you prefer take a sweep and introduce scoped guards
everywhere (for spinlocks, mutexes..).
Hmmm, <linux/cleanup.h> is only available in v6.5 and later.
I don't know whether the CiP machinery is planning to backport
<linux/cleanup.h> to e.g. v6.1 LTS...
Only for new code! (for-v6.7+)
Would you prefer <linux/cleanup.h> even if the new code just uses the
already existing spinlocks, mutexes? Or only for new code that introduces
new spinlocks, mutexes?

Thank you,
Claudiu Beznea
Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help