projects
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SCSI] qla2xxx: Further restrict ZIO mode support.
[linux-2.6]
/
drivers
/
acpi
/
event.c
diff --git
a/drivers/acpi/event.c
b/drivers/acpi/event.c
index
bfa8b76
..
2dbb1b0
100644
(file)
--- a/
drivers/acpi/event.c
+++ b/
drivers/acpi/event.c
@@
-58,9
+58,8
@@
acpi_system_read_event(struct file *file, char __user * buffer, size_t count,
return_VALUE(-EAGAIN);
result = acpi_bus_receive_event(&event);
- if (result) {
- return_VALUE(-EIO);
- }
+ if (result)
+ return_VALUE(result);
chars_remaining = sprintf(str, "%s %s %08x %08x\n",
event.device_class ? event.