Re: [PATCH v5 62/75] usb: gadget: re-import epautoconf.c from kernel v6.16

Mattijs Korpershoek <[email protected]>
Newsgroups gmane.comp.boot-loaders.u-boot
Message-ID <[email protected]>
Hi Anders,

Thank you for the patch.

On Thu, Jul 16, 2026 at 15:42, Anders Roxell <[email protected]> wrote:

> From: Jerome Forissier <[email protected]>
>
> Replace drivers/usb/gadget/epautoconf.c with the one from the Linux
> kernel. Fixes will come later.
>
> Signed-off-by: Jerome Forissier <[email protected]>
> Signed-off-by: Jens Wiklander <[email protected]>
> Signed-off-by: Anders Roxell <[email protected]>
> ---
>  drivers/usb/gadget/epautoconf.c | 291 +++++++++++++++-----------------
>  1 file changed, 132 insertions(+), 159 deletions(-)
>
> diff --git a/drivers/usb/gadget/epautoconf.c b/drivers/usb/gadget/epautoconf.c
> index 495460473e9a..30016b805bfd 100644
> --- a/drivers/usb/gadget/epautoconf.c
> +++ b/drivers/usb/gadget/epautoconf.c
> @@ -3,170 +3,120 @@
>   * epautoconf.c -- endpoint autoconfiguration for usb gadget drivers
>   *
>   * Copyright (C) 2004 David Brownell

I've file-compared with the mentioned Linux kernel release, and this
looks good to me.

However, in the previous patch (usb: host: re-import xhci-ext-caps.h
from kernel v6.16) you added a small comment to the file stating:

/* Imported from Linux v6.16 */

Can we please be consistent and do that here as well?

With that done:

Reviewed-by: Mattijs Korpershoek <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.