git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge ../linux-2.6
[pandora-kernel.git]
/
drivers
/
s390
/
char
/
tape_class.c
diff --git
a/drivers/s390/char/tape_class.c
b/drivers/s390/char/tape_class.c
index
643b6d0
..
56b8761
100644
(file)
--- a/
drivers/s390/char/tape_class.c
+++ b/
drivers/s390/char/tape_class.c
@@
-76,7
+76,7
@@
struct tape_class_device *register_tape_dev(
device,
"%s", tcd->device_name
);
- rc =
PTR_ERR(tcd->class_device)
;
+ rc =
IS_ERR(tcd->class_device) ? PTR_ERR(tcd->class_device) : 0
;
if (rc)
goto fail_with_cdev;
rc = sysfs_create_link(