]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
MIPS: Fix debugfs_create_*'s error checking method for arch/mips/math-emu/
authorZhaolei <zhaolei@cn.fujitsu.com>
Fri, 17 Oct 2008 11:12:30 +0000 (19:12 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 27 Oct 2008 16:18:25 +0000 (16:18 +0000)
commitecab1f4479abb88d739bc1aac5545e8399fbad66
tree00923c379480f8a8dae115892e5b486c9211bb8d
parentf8d56f1771e4867acc461146764b4feeb5245669
MIPS: Fix debugfs_create_*'s error checking method for arch/mips/math-emu/

debugfs_create_*() returns NULL on error.  Make its caller debugfs_fpuemu
return -ENODEV on error.

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/math-emu/cp1emu.c