public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* xhci: Small cleanup of TD giveback and status tracking
@ 2025-09-11 14:06 Michal Pecio
  2025-09-11 14:07 ` [PATCH 1/3] usb: xhci: Don't change status on length mismatch Michal Pecio
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Michal Pecio @ 2025-09-11 14:06 UTC (permalink / raw)
  To: Mathias Nyman, Greg Kroah-Hartman, linux-usb, linux-kernel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-09-11 14:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-11 14:06 xhci: Small cleanup of TD giveback and status tracking Michal Pecio
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox