>> Would you become interested to apply a statement like “guard(mutex)(&hdmi->state_mutex);”? >> https://elixir.bootlin.com/linux/v6.10-rc3/source/include/linux/mutex.h#L196 > > I am not. Under which circumstances will development interests grow for scope-based resource management? https://elixir.bootlin.com/linux/v6.10-rc3/source/include/linux/cleanup.h#L124 Regards, Markus