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

From: Johan Hovold

Date: Mon Jun 08 2026 - 04:46:42 EST


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