]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
usb: xhci: Fix a potential NULL pointer dereference
authorSergey Temerkhanov <s.temerkhanov@gmail.com>
Mon, 17 Aug 2015 12:38:07 +0000 (15:38 +0300)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 08:29:37 +0000 (10:29 +0200)
commit81c07104d617a7ce6354d5d655e98d56dc66303e
tree4211d505cfc6478fb1ecb4eb4698aaddd3cbc978
parent94f18d4221969b9411497580fb27229a737a0be8
usb: xhci: Fix a potential NULL pointer dereference

This patch fixes a potential NULL pointer dereference arising on
non-present/non-initialized xHCI controllers and adds some error
handling to xHCI code

Signed-off-by: Sergey Temerkhanov <s.temerkhanov@gmail.com>
Signed-off-by: Radha Mohan Chintakuntla <rchintakuntla@cavium.com>
drivers/usb/host/xhci.c