]> git.baikalelectronics.ru Git - kernel.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)
commitb6d23718bd36c411290f1b7b3e625836962a9f6e
tree00923c379480f8a8dae115892e5b486c9211bb8d
parentae476cb42fea6d82bfd52c92c790db6aa2890a2d
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