Re: [PATCH] USB: serial: kl5kusb105: fix bulk-out buffer overflow

From: Sam Hyeong

Date: Mon Jun 08 2026 - 05:14:52 EST


Hi Johan,

Sure, thanks! I've just sent a v2 with the "Assisted-by" tag.

Thanks,
HyeongJun



On Mon, Jun 8, 2026 at 5:36 PM Johan Hovold <johan@xxxxxxxxxx> wrote:
>
> On Mon, Jun 08, 2026 at 04:49:30PM +0900, HyeongJun An wrote:
>
> > Yes, I used an LLM to compare the custom prepare_write_buffer()
> > handlers in drivers/usb/serial/. kl5kusb105 passes the full "size"
> > to the fifo copy, while the ones with a header or trailer, like
> > safe_serial, reserve that space first.
>
> Thanks for confirming. This needs to be documented in the commit
> message, see:
>
> Documentation/process/submitting-patches.rst ["Using Assisted-by"]
> Documentation/process/coding-assistants.rst
>
> Can you send a v2 with the missing tag?
>
> Johan