Skip to content
Snippets Groups Projects
user avatar
Hans de Goede authored
The old dm "usb info" implementation has several issues:

1) NULL pointer deref when a bus has no children
2) Not showing usb devices on busses without an emulated root-hub (otg host)
3) Attempting to show devices on inactive busses
4) "usb info" Would cause some hosts to get re-probed something which only
   "usb reset" should do

TL;DR: proper iterating over usb bus root devs is hard, use the helper
for it.

Reported-by: default avatarBernhard Nortmann <bernhard.nortmann@web.de>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
e6e188f5
History
Name Last commit Last update
..