commit | 57f9bdac2510cd7fda58e4a111d250861eb1ebeb | [log] [tgz] |
---|---|---|
author | Dan Carpenter <error27@gmail.com> | Wed Aug 25 09:12:29 2010 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Sep 03 17:26:28 2010 -0700 |
tree | c343e3d07fbab1cf7714b9bedebda95807e86cd9 | |
parent | 2bfc96a127bc1cc94d26bfaa40159966064f9c8c [diff] |
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 <error27@gmail.com> Cc: stable <stable@kernel.org> Reviewed-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>