commit | 2043e30975f175efa787ad48ffa4c29a58ba1808 | [log] [tgz] |
---|---|---|
author | Pavankumar Kondeti <pkondeti@codeaurora.org> | Thu Jul 19 08:54:04 2012 +0530 |
committer | Pavankumar Kondeti <pkondeti@codeaurora.org> | Thu Jul 19 08:59:32 2012 +0530 |
tree | b28cdb86d4131b7981c3d40f2dab4a393899f909 | |
parent | 08790720bd5cf0940dddda805eb5b2661e682f96 [diff] |
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: Pavankumar Kondeti <pkondeti@codeaurora.org>