public inbox for linux-usb@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix sum_trb_lengths()
@ 2024-09-10 14:01 Michal Pecio
  2024-09-10 14:02 ` [PATCH 1/2] usb: xhci: Remove unused parameters of next_trb() Michal Pecio
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Michal Pecio @ 2024-09-10 14:01 UTC (permalink / raw)
  To: Mathias Nyman; +Cc: linux-usb

Hi,

This function sums from ring->dequeue instead of td->first_trb, and
this is even documented. Makes no sense and doesn't work right.

I searched xhci-ring.c and this appears to be the last such abuse of
'dequeue' still surviving to this day.

Regards,
Michal

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

end of thread, other threads:[~2024-09-11 15:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-10 14:01 [PATCH 0/2] Fix sum_trb_lengths() Michal Pecio
2024-09-10 14:02 ` [PATCH 1/2] usb: xhci: Remove unused parameters of next_trb() Michal Pecio
2024-09-10 14:03 ` [PATCH 2/2] usb: xhci: Fix sum_trb_lengths() Michal Pecio
2024-09-11 15:48 ` [PATCH 0/2] " Mathias Nyman

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