diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2016-03-26 20:42:17 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-04-18 21:33:15 +0200 |
commit | e352506e8a871890278ba66a2d77167193ffbfa9 (patch) | |
tree | 7a268664433f343eaf8eb9feb180bb8512548a9b /drivers/leds/leds-aat1290.c | |
parent | xhci: fix typo in babble endpoint handling comment (diff) | |
download | linux-e352506e8a871890278ba66a2d77167193ffbfa9.tar.xz linux-e352506e8a871890278ba66a2d77167193ffbfa9.zip |
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/leds/leds-aat1290.c')
0 files changed, 0 insertions, 0 deletions