summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/cell/spufs/backing_ops.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2005-12-06 03:52:23 (GMT)
committerPaul Mackerras <paulus@samba.org>2006-01-09 03:52:48 (GMT)
commitb41305a39a6966d8e8b1449d6b7c194923bfb451 (patch)
treee8d3368d06a3b900e16700481183bd92ec9c7d4f /arch/powerpc/platforms/cell/spufs/backing_ops.c
parentd88cfffac0002c56c1a7a813cb885fa6b5fdcd0e (diff)
downloadlinux-fsl-qoriq-b41305a39a6966d8e8b1449d6b7c194923bfb451.tar.xz
[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 <arndb@de.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/cell/spufs/backing_ops.c')
0 files changed, 0 insertions, 0 deletions