Linux USB
 help / color / mirror / Atom feed
From: Johan Hovold <johan@kernel.org>
To: HyeongJun An <sammiee5311@gmail.com>
Cc: gregkh@linuxfoundation.org, linux-usb@vger.kernel.org,
	linux-kernel@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH] USB: serial: kl5kusb105: fix bulk-out buffer overflow
Date: Mon, 8 Jun 2026 10:36:28 +0200	[thread overview]
Message-ID: <aiZ_DJGvrmotkM3J@hovoldconsulting.com> (raw)
In-Reply-To: <20260608074931.5911-1-sammiee5311@gmail.com>

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

  reply	other threads:[~2026-06-08  8:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-07  9:51 [PATCH] USB: serial: kl5kusb105: fix bulk-out buffer overflow HyeongJun An
2026-06-08  6:34 ` Johan Hovold
2026-06-08  7:49   ` HyeongJun An
2026-06-08  8:36     ` Johan Hovold [this message]
2026-06-08  9:11       ` Sam Hyeong
2026-06-08  9:09 ` [PATCH v2] " HyeongJun An
2026-06-08 11:49   ` Johan Hovold

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aiZ_DJGvrmotkM3J@hovoldconsulting.com \
    --to=johan@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=sammiee5311@gmail.com \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox