mirror of
https://github.com/torvalds/linux.git
synced 2026-11-30 18:42:21 +00:00
The sysfs file for the driver was being created _after_ the device was announced to userspace, causing a race with any tools looking for sysfs files. Fix the race by using the default attribute group for the class. Cc: Kees Cook <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>