On 13.08.24 11:39, Greg KH wrote:
On Wed, Jul 10, 2024 at 07:57:01PM +0200, Gerhard Engleder wrote:+ ret = sysfs_create_group(&pci_dev->dev.kobj, &attrs_group);You just raced with userspace and lost :( Please use the default groups for your driver instead, that way the driver core will handle all of the creation/cleanup properly for you without having to worry you about it.
I was not aware of that. I will take a look on it and post a patch. Thank you! Gerhard