From: Ionut Nicu Date: Fri, 5 Nov 2010 17:01:50 +0000 (+0000) Subject: staging: tidspbridge: fix kernel oops in bridge_io_get_proc_load X-Git-Tag: v2.6.39-rc1~469^2~588^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74c2d1f63f6fff26503f538ddacf0e45feb15f0d;p=pandora-kernel.git staging: tidspbridge: fix kernel oops in bridge_io_get_proc_load The DSP shared memory area gets initialized only when a COFF file is loaded. If bridge_io_get_proc_load is called before loading a base image into the DSP, the shared_mem member of the io manager will be NULL, resulting in a kernel oops when it's dereferenced. Also made some coding style changes to bridge_io_create. Signed-off-by: Ionut Nicu Signed-off-by: Omar Ramirez Luna --- Reading git-diff-tree failed