From: Michal Pecio <michal.pecio@gmail.com>
To: Mathias Nyman <mathias.nyman@intel.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: xhci: Small cleanup of TD giveback and status tracking
Date: Thu, 11 Sep 2025 16:06:32 +0200 [thread overview]
Message-ID: <20250911160632.46245dc4.michal.pecio@gmail.com> (raw)
Hi,
I noticed some redundant 'status' parameters which obscure how URB
status assignment really works (it's very simple at the moment) and
create opportunity for errors like cleanup(cached_td, td->status).
Removing them seems harmless.
Also included is a copypasta cleanup and removal of some questionable
IMO logic, partly because it was getting in the way.
Regards,
Michal
next reply other threads:[~2025-09-11 14:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-11 14:06 Michal Pecio [this message]
2025-09-11 14:07 ` [PATCH 1/3] usb: xhci: Don't change status on length mismatch Michal Pecio
2025-09-11 14:08 ` [PATCH 2/3] usb: xhci: Deduplicate TD cleanup code Michal Pecio
2025-09-11 14:08 ` [PATCH 3/3] usb: xhci: Clean up TD status passing Michal Pecio
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=20250911160632.46245dc4.michal.pecio@gmail.com \
--to=michal.pecio@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=mathias.nyman@intel.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