diff options
| author | Felipe F. Tonello <[email protected]> | 2015-10-27 10:36:32 +0000 |
|---|---|---|
| committer | Peter Chen <[email protected]> | 2015-12-24 06:15:26 +0000 |
| commit | 779debdf26d4b49598e61e0c28ac97146a2b96fe (patch) | |
| tree | f7f8690838478842e3d19203c136ff498cd58883 /drivers/usb/chipidea/debug.c | |
| parent | usb: chipidea: udc: _ep_queue and _hw_queue cleanup (diff) | |
| download | kernel-779debdf26d4b49598e61e0c28ac97146a2b96fe.tar.gz kernel-779debdf26d4b49598e61e0c28ac97146a2b96fe.zip | |
usb: chipidea: udc: improve error handling on _hardware_enqueue
_hardware_enqueue() didn't check for errors when using
add_td_to_list() which can fail if dma_pool_alloc fails, thus
causing a kernel panic when lastnode->ptr is NULL.
Signed-off-by: Felipe F. Tonello <[email protected]>
Signed-off-by: Peter Chen <[email protected]>
Diffstat (limited to 'drivers/usb/chipidea/debug.c')
0 files changed, 0 insertions, 0 deletions
