Re: [PATCH v3 2/8] usb: xhci: xhci_bulk_tx: Don't "BUG" when comparing addresses

2020-08-21 Thread Bin Meng
On Fri, Aug 21, 2020 at 1:34 PM Stefan Roese wrote: > > Octeon uses mapped addresses for virtual and physical memory. It's not > that easy to calculate the resulting addresses here. So let's remove > this BUG_ON() completely, as it's not really helpful. > > Please also note, that BUG_ON() is not

[PATCH v3 2/8] usb: xhci: xhci_bulk_tx: Don't "BUG" when comparing addresses

2020-08-20 Thread Stefan Roese
Octeon uses mapped addresses for virtual and physical memory. It's not that easy to calculate the resulting addresses here. So let's remove this BUG_ON() completely, as it's not really helpful. Please also note, that BUG_ON() is not recommended any more in the Linux kernel. Signed-off-by: Stefan