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

Skip to content
Commit fc73379b authored by Pavankumar Kondeti's avatar Pavankumar Kondeti Committed by Stephen Boyd
Browse files

USB: android: check for platform data presence before accessing it



commit c9cb205f (USB: android: Add a new LUN as CD-ROM in mass-storage)
access platform data without checking for NULL.  This causes a kernel
panic on targets which don't have platform data.

Change-Id: I4542b0dce81604706f90b7f6e851ed47c04a941c
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent 26d8e316
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