From: Greg KH <gregkh@linuxfoundation.org>
To: Triet Hoang <triet.hoang.dev@gmail.com>
Cc: peter.chen@kernel.org, pawell@cadence.com, rogerq@kernel.org,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] usb: cdns3: Handle ZLP request allocation failure
Date: Mon, 17 Aug 2026 13:01:08 +0200 [thread overview]
Message-ID: <2026081757-fog-lunacy-2df9@gregkh> (raw)
In-Reply-To: <20260817090321.955841-1-triet.hoang.dev@gmail.com>
On Mon, Aug 17, 2026 at 04:03:20PM +0700, Triet Hoang wrote:
> Check the return value of cdns3_gadget_ep_alloc_request() before
> dereferencing the returned request.
>
> Changes in v2:
> - Allocate the ZLP request before queuing the primary request.
> - Free the allocated ZLP request when the primary request queueing fails.
The "changes" go below the --- line, right?
thanks,
greg k-h
next prev parent reply other threads:[~2026-08-17 11:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-17 7:59 [PATCH] usb: cdns3: Handle ZLP request allocation failure Triet Hoang
2026-08-17 9:03 ` [PATCH v2] " Triet Hoang
2026-08-17 11:01 ` Greg KH [this message]
2026-08-17 14:33 ` [PATCH] " Triet Hoang
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=2026081757-fog-lunacy-2df9@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=pawell@cadence.com \
--cc=peter.chen@kernel.org \
--cc=rogerq@kernel.org \
--cc=triet.hoang.dev@gmail.com \
/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