Revision 7145cf12095265b8a292835d0f6da87f89fac1d1 authored by Alexandre Rusev on 27 October 2011, 14:18:37 UTC, committed by Kumar Gala on 24 November 2011, 08:00:42 UTC
If Freescale LBC driver fails to initialise itself from device tree, then internal structure is freed only but not NULL-fied. As result functions fsl_lbc_find() after checking the structure is not NULL are trying to access device registers. Signed-off-by: Alexandre Rusev <arusev@dev.rtsoft.ru> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
1 parent 86f9a43