Files
linux/drivers/usb/host
Mathias Nyman bd5e67f59a xhci: rework inc_deq() and fix off by one error.
inc_deq() is called both for rings with link trbs and the event ring
without link trbs.
The last_trb() check in inc_deq() has a off by one error, going beyond
allocated array when checking if trb == [TRBS_PER_SEGMENT], and the whole
inc_deq() depend on this.

Rewrite the inc_deq() funciton, remove the faulty last_trb() helper, add
new last_trb_on_seg() and last_trb_on_ring() helpers

Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-06-26 11:43:39 -07:00
..
2016-01-24 21:00:33 -08:00
…
2014-11-03 15:26:15 -08:00
2015-04-03 19:03:18 +02:00
…
2015-04-03 19:03:18 +02:00
…
2015-04-03 19:03:17 +02:00
2015-01-25 21:01:13 +08:00
2016-01-24 21:00:33 -08:00
…
2015-06-08 14:26:22 -07:00