From: Zhaolei Date: Fri, 17 Oct 2008 11:25:09 +0000 (+0800) Subject: Fix debugfs_create_file's error checking method for arch/sh/mm/ X-Git-Tag: v2.6.28-rc1~99^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25627c7fd71269e2658b6872eef65719ee80b9aa;p=pandora-kernel.git 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 Signed-off-by: Paul Mundt --- Reading git-diff-tree failed