From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx> On Fri, 14 Feb 2025 11:26:48 +0100, Bartosz Golaszewski wrote: > Linux kernel commit 8bd76b3d3f3a ("gpio: sim: lock up configfs that an > instantiated device depends on") has uncovered an issue in libgpiosim: > we use reference counting for all objects (to make RAII easier for > bindings) but, with the above change, if the user doesn't explicitly > disable the device before dropping the last reference to a bank object, > the parent device will never get correctly cleaned up. > > [...] Applied, thanks! [1/1] gpiosim: defer removal of bank entries when device is not disabled commit: 3dac2c5d9c2ed3d77e9bcf89e03a6173ca28b9c5 Best regards, -- Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>