summaryrefslogtreecommitdiffstats
path: root/drivers/usb/usbip/usbip_event.c
diff options
context:
space:
mode:
authorAlexey Khoroshilov <khoroshilov@ispras.ru>2016-03-26 22:42:17 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-04-19 04:33:15 +0900
commite352506e8a871890278ba66a2d77167193ffbfa9 (patch)
tree7a268664433f343eaf8eb9feb180bb8512548a9b /drivers/usb/usbip/usbip_event.c
parentd4fc8bf59746b6ef9bdbec42a608b89d0221b7df (diff)
downloadlinux-e352506e8a871890278ba66a2d77167193ffbfa9.tar.bz2
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/usbip_event.c')
0 files changed, 0 insertions, 0 deletions