From: Arnd Bergmann Date: Tue, 6 Dec 2005 03:52:23 +0000 (-0500) Subject: [PATCH] spufs: Fix oops when spufs module is not loaded X-Git-Tag: v2.6.16-rc1~666^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b41305a39a6966d8e8b1449d6b7c194923bfb451;p=pandora-kernel.git [PATCH] spufs: Fix oops when spufs module is not loaded try_module_get returns true when NULL arguments, so we first need to check if there is a module loaded before getting the reference count. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed