>> Will it become helpful to offer further SmPL script variants which can be used >> together with the tool “coccicheck”? > > I'm not the one to decide whether we should use cleanup for mutex locks. > Intuitively, my opinion would be that we should not. Something that can > have so much impact on the execution of the system should be visible. You are trying to influence software evolution also according to scope-based resource management for a while, don't you? https://elixir.bootlin.com/linux/v6.9.2/source/include/linux/cleanup.h#L124 Regards, Markus