diff options
| author | 2007-01-25 01:32:34 -0800 | |
|---|---|---|
| committer | 2007-02-16 15:32:17 -0800 | |
| commit | c5999f0da73b7f46435a67671c8861ed14a94c4e (patch) | |
| tree | 467381c8c4e94ec2c5f73b0378cc8ce07943b92c /include/linux/workqueue.h | |
| parent | USB: Driver to charge USB blackberry devices (diff) | |
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 <josh@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions
