]> err.no Git - linux-2.6/commit
[POWERPC] spufs: fix missing error handling in module_init()
authorAkinobu Mita <mita@fixstars.com>
Mon, 23 Apr 2007 19:08:19 +0000 (21:08 +0200)
committerArnd Bergmann <arnd@klappe.arndb.de>
Mon, 23 Apr 2007 19:18:56 +0000 (21:18 +0200)
commitc99c1994a2bb9493b4ac372b2b6ee2606d291171
treefd160994c89dad01c8e6bcb63e5d350768e88945
parent577f8f1021f9ee6ef2a98a142652759ec122d27f
[POWERPC] spufs: fix missing error handling in module_init()

spufs module_init forgot to call a few cleanup functions
on error path. This patch also includes cosmetic changes in
spu_sched_init() (identation fix and return error code).

[modified by hch to apply ontop of the latest schedule changes]

Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Akinobu Mita <mita@fixstars.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
arch/powerpc/platforms/cell/spufs/inode.c