summaryrefslogtreecommitdiff
path: root/drivers/usb/usbip
diff options
context:
space:
mode:
authorAlexey Khoroshilov <khoroshilov@ispras.ru>2016-03-26 19:42:17 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-04-18 19:33:15 (GMT)
commite352506e8a871890278ba66a2d77167193ffbfa9 (patch)
tree7a268664433f343eaf8eb9feb180bb8512548a9b /drivers/usb/usbip
parentd4fc8bf59746b6ef9bdbec42a608b89d0221b7df (diff)
downloadlinux-e352506e8a871890278ba66a2d77167193ffbfa9.tar.xz
USB: whci-hcd: add more checks for dma mapping error
Fixing checks for dma mapping error in qset_fill_page_list(), I have missed two similar problems in qset_add_urb_sg() and in qset_add_urb_sg_linearize(). v2: check validity of dma_addr with dma_mapping_error() in qset_free_std() as suggested by Vladimir Zapolskiy. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Reviewed-by: Vladimir Zapolskiy <vz@mleia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/usbip')
0 files changed, 0 insertions, 0 deletions