]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
usb: iowarrior: remove inherent race with minor number
authorOliver Neukum <oneukum@suse.com>
Thu, 12 Mar 2026 09:45:27 +0000 (10:45 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Mar 2026 15:02:17 +0000 (16:02 +0100)
commit56dd29088c9d9510c48a8ebad2465248fde36551
tree3e8e9955068410507580152c688b19bfe5ac93b3
parent916aeaffad2526b9723387b6bd449ec76dcc8d44
usb: iowarrior: remove inherent race with minor number

The driver saves the minor number it gets upon registration
in its descriptor for debugging purposes. However, there is
inevitably a window between registration and saving the correct
minor in a descriptor. During this window the debugging output
will be wrong.
As wrong debug output is worse than no debug output, just
remove it.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Link: https://patch.msgid.link/20260312094619.1590556-1-oneukum@suse.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/iowarrior.c