Re: [RESEND PATCH] usb: core: config: fix SS companion log for interrupt endpoints
From: Greg KH
Date: Thu Jul 02 2026 - 05:37:03 EST
On Thu, Jul 02, 2026 at 04:11:04PM +0800, raoxu wrote:
> From: Xu Rao <raoxu@xxxxxxxxxxxxx>
>
> usb_parse_ss_endpoint_companion() clears bmAttributes when it is
> non-zero for control or interrupt endpoints.
>
> The diagnostic message reports Control for control endpoints and Bulk
> for the other branch. However, the other branch can only be an
> interrupt endpoint because bulk endpoints are handled by the following
> else-if branch.
>
> Report the endpoint type as Interrupt instead of Bulk to avoid
> misleading descriptor diagnostics.
>
> Signed-off-by: Xu Rao <raoxu@xxxxxxxxxxxxx>
> ---
> drivers/usb/core/config.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Why is this RESEND? Always say so below the --- line.
thanks,
greg k-h