RE: [PATCH] xhci: fix array index out of the bounds in function last_trb() and last_trb_on_last_seg()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I know all these difference clearly,  inc_deq() is indeed a common
> function for different rings, but lasr_trb() & last_trb_on_last_seg()
> inside it use different condition to determine the last trb in an
> event ring and an non-event ring; and sorry, i still not find why last
> trb in an event ring skipped by H/W according to the current logic.
> 
> Thanks!
> 

Read the specs and the code.

	David



--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux