Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
USB: fix usbled disconnect read race #2
usbled has a race where show methods for attributes in sysfs can follow a NULL pointer during disconnect. The correct ordering fixes it. Signed-off-by: Oliver Neukum <oneukum@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
- Loading branch information