On Tue, Sep 12, 2023 at 11:03 AM Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote: > On Tue, Sep 12, 2023 at 10:55 AM Linus Walleij <linus.walleij@xxxxxxxxxx> wrote: > > 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+) Yours, Linus Walleij