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
History
File Mode Size
Kconfig -rw-r--r-- 872 bytes
Makefile -rw-r--r-- 317 bytes
amdtp.c -rw-r--r-- 14.9 KB
amdtp.h -rw-r--r-- 4.6 KB
cmp.c -rw-r--r-- 7.2 KB
cmp.h -rw-r--r-- 1.1 KB
fcp.c -rw-r--r-- 6.0 KB
fcp.h -rw-r--r-- 327 bytes
isight.c -rw-r--r-- 18.0 KB
iso-resources.c -rw-r--r-- 6.5 KB
iso-resources.h -rw-r--r-- 1.2 KB
lib.c -rw-r--r-- 2.3 KB
lib.h -rw-r--r-- 514 bytes
packets-buffer.c -rw-r--r-- 2.1 KB
packets-buffer.h -rw-r--r-- 747 bytes
speakers.c -rw-r--r-- 20.2 KB

back to top