Re: [PATCH] usb: xhci: fix length check in xhci_align_td

2019-07-06 Thread Henry Lin
ntel.com; lorenzo.bianc...@redhat.com; n...@nbd.name; sgrus...@redhat.com Subject: [PATCH] usb: xhci: fix length check in xhci_align_td Fix the following warning due to a wrong length check after sg_pcopy_to_buffer in xhci_align_td xhci_hcd :00:04.0: WARN Wrong bounce buffer write length: 158 != 284 xhci_

[PATCH] usb: xhci: fix length check in xhci_align_td

2019-07-04 Thread Lorenzo Bianconi
Fix the following warning due to a wrong length check after sg_pcopy_to_buffer in xhci_align_td xhci_hcd :00:04.0: WARN Wrong bounce buffer write length: 158 != 284 xhci_hcd :00:04.0: WARN Wrong bounce buffer write length: 234 != 158 xhci_hcd :00:04.0: WARN Wrong bounce buffer write le