
22 Apr
2023
22 Apr
'23
6:51 p.m.
On Sat, 1 Apr 2023 at 19:57, Heinrich Schuchardt < heinrich.schuchardt@canonical.com> wrote:
Avoid incorrect fall through: A USB_RT_HUB request should not be treated as USB_RT_PORT.
Simplify the coding: Avoid duplicate debug() statements.
This fixes all -Wimplicit-fallthrough warnings.
Signed-off-by: Heinrich Schuchardt heinrich.schuchardt@canonical.com
drivers/usb/emul/sandbox_hub.c | 30 +++++++++--------------------- 1 file changed, 9 insertions(+), 21 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org
Applied to u-boot-dm, thanks!