commit | cfa3fa405a5eafd5d5c53b18abc00ca998c35eef | [log] [tgz] |
---|---|---|
author | Zhaolei <zhaolei@cn.fujitsu.com> | Wed Oct 22 17:07:25 2008 +0800 |
committer | John W. Linville <linville@tuxdriver.com> | Fri Oct 31 19:00:45 2008 -0400 |
tree | d2be111acfed0d9f563453eb205642d05c964f89 | |
parent | 9b24001db145cf1da76a479918373c18aa10bb4b [diff] |
Fix debugfs_create_*'s error checking method for wireless/rt2x00/ debugfs_create_*() 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: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>