commit | 25627c7fd71269e2658b6872eef65719ee80b9aa | [log] [tgz] |
---|---|---|
author | Zhaolei <zhaolei@cn.fujitsu.com> | Fri Oct 17 19:25:09 2008 +0800 |
committer | Paul Mundt <lethal@linux-sh.org> | Mon Oct 20 10:40:21 2008 +0900 |
tree | 9f5b6f11354ef176348a42aa969c93b3f5794f8f | |
parent | 9986b311efdc9727a5a48f03c3dac3d536fbaa74 [diff] |
Fix debugfs_create_file's error checking method for arch/sh/mm/ debugfs_create_file() 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>