From: Josh Triplett Date: Thu, 25 Jan 2007 09:32:34 +0000 (-0800) Subject: USB: In init_endpoint_class, use PTR_ERR to obtain an errno value, not IS_ERR X-Git-Tag: v2.6.21-rc1~82^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5999f0da73b7f46435a67671c8861ed14a94c4e;p=pandora-kernel.git USB: In init_endpoint_class, use PTR_ERR to obtain an errno value, not IS_ERR init_endpoint_class calls class_create, and checks the result for an error with IS_ERR; however, if true, it then returns the result of IS_ERR (a boolean) rather than PTR_ERR (the actual errno). Signed-off-by: Josh Triplett Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed