Hi Linus, On Tue, Aug 15, 2023 at 11:14 AM Linus Walleij <linus.walleij@xxxxxxxxxx> wrote: > On Mon, Aug 14, 2023 at 9:24 AM Biju Das <biju.das.jz@xxxxxxxxxxxxxx> wrote: > > Fix the below random NULL pointer crash during boot by serializing > > pinctrl group and function creation/remove calls in > > rzg2l_dt_subnode_to_map() with mutex lock. > > What about using, hehe, scoped guards? Bartosz premiered the use > of this and I already like it a lot... see: > https://lore.kernel.org/linux-gpio/20230812183635.5478-1-brgl@xxxxxxxx/ Quoting the other Linus: "We should probably also strive to avoid it for bug-fixes that end up going to stable." https://lore.kernel.org/all/CAHk-=wjsb5gZTvhXofPCQthk48S9_bSGohXKU8x8XDnf7=bROw@xxxxxxxxxxxxxx Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds