From: Dan Carpenter Date: Wed, 25 Aug 2010 07:12:29 +0000 (+0200) Subject: sysfs: checking for NULL instead of ERR_PTR X-Git-Tag: v2.6.36-rc4~89^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57f9bdac2510cd7fda58e4a111d250861eb1ebeb;p=pandora-kernel.git sysfs: checking for NULL instead of ERR_PTR d_path() returns an ERR_PTR and it doesn't return NULL. Signed-off-by: Dan Carpenter Cc: stable Reviewed-by: "Eric W. Biederman" Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed