commit | 9986b311efdc9727a5a48f03c3dac3d536fbaa74 | [log] [tgz] |
---|---|---|
author | Zhaolei <zhaolei@cn.fujitsu.com> | Fri Oct 17 19:25:03 2008 +0800 |
committer | Paul Mundt <lethal@linux-sh.org> | Mon Oct 20 10:40:15 2008 +0900 |
tree | 7124d9785bf210d8bc79a604ff23dd1047051366 | |
parent | a3e0270663a520a2cb8c7418c098676f25478d2f [diff] |
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>