Re: [PATCH v2 0/2] USB core hub error handling.

From: Alan Stern

Date: Tue Jul 21 2026 - 10:56:26 EST


On Tue, Jul 21, 2026 at 12:15:18PM +0200, Griffin Kroah-Hartman wrote:
> A small patch series dedicated to strengthening error handling and
> readability in drivers/usb/core/hub.c
>
> Signed-off-by: Griffin Kroah-Hartman <griffin@xxxxxxxxx>
> ---

For both patches:

Acked-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>

> Changes in v2:
> - Added a patch rearranging error handling logic.
> - Link to v1: https://patch.msgid.link/20260714-usb_core_patches_2-v1-1-4229a368a633@xxxxxxxxx
>
> To: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> Cc: linux-usb@xxxxxxxxxxxxxxx
> Cc: linux-kernel@xxxxxxxxxxxxxxx
>
> ---
> Griffin Kroah-Hartman (2):
> usb: core: Strengthen error handling in hub_hub_status()
> usb: core: reformat error handling and messages
>
> drivers/usb/core/hub.c | 14 ++++++++------
> 1 file changed, 8 insertions(+), 6 deletions(-)
> ---
> base-commit: a13c140cc289c0b7b3770bce5b3ad42ab35074aa
> change-id: 20260714-usb_core_patches_2-a3eb9d1b7b9e
>
> Best regards,
> --
> Griffin Kroah-Hartman <griffin@xxxxxxxxx>
>