]> git.baikalelectronics.ru Git - kernel.git/commit
Fix debugfs_create_dir's error checking method for arch/sh/kernel/
authorZhaolei <zhaolei@cn.fujitsu.com>
Fri, 17 Oct 2008 11:25:03 +0000 (19:25 +0800)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 20 Oct 2008 01:40:15 +0000 (10:40 +0900)
commitb2fbfac7e6127a7b84ffc097e0ed67e351b1ff20
tree7124d9785bf210d8bc79a604ff23dd1047051366
parent93dff4b3673b96df34cd583c0b07cb76652c3764
Fix debugfs_create_dir's error checking method for arch/sh/kernel/

debugfs_create_dir() returns NULL if an error occurs, returns -ENODEV
when debugfs is not enabled in the kernel.

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/setup.c