diff options
author | Zhaolei <zhaolei@cn.fujitsu.com> | 2008-10-17 07:25:03 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-10-19 21:40:15 -0400 |
commit | 9986b311efdc9727a5a48f03c3dac3d536fbaa74 (patch) | |
tree | 7124d9785bf210d8bc79a604ff23dd1047051366 /arch/sh/mm | |
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>
Diffstat (limited to 'arch/sh/mm')
0 files changed, 0 insertions, 0 deletions