Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 572b72df authored by Mayank Rana's avatar Mayank Rana
Browse files

usbcore: check usb_hub_to_struct_hub() return value



usb_hub_to_struct_hub() can return NULL in some unlikely cases.
Add checks where appropriate and handle error case properly.

CRs-Fixed: 562361
Change-Id: I09a11a08a8fa71ca6ecdb3a42ba0e6c2503ee0c0
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent 30d605fd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment