sysfs: checking for NULL instead of ERR_PTR
commit 57f9bdac upstream. d_path() returns an ERR_PTR and it doesn't return NULL. Signed-off-by:Dan Carpenter <error27@gmail.com> Reviewed-by:
"Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
Showing
Please register or sign in to comment