git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vfs: do bulk POLL* -> EPOLL* replacement
[sfrench/cifs-2.6.git]
/
drivers
/
hid
/
hid-debug.c
diff --git
a/drivers/hid/hid-debug.c
b/drivers/hid/hid-debug.c
index c783fd5ef80961fce106e9f3a1cdc123978bc8a7..4f4e7a08a07be5c0a37c129905e89d4e03aa10e0 100644
(file)
--- a/
drivers/hid/hid-debug.c
+++ b/
drivers/hid/hid-debug.c
@@
-1185,9
+1185,9
@@
static __poll_t hid_debug_events_poll(struct file *file, poll_table *wait)
poll_wait(file, &list->hdev->debug_wait, wait);
if (list->head != list->tail)
- return
POLLIN |
POLLRDNORM;
+ return
EPOLLIN | E
POLLRDNORM;
if (!list->hdev->debug)
- return
POLLERR |
POLLHUP;
+ return
EPOLLERR | E
POLLHUP;
return 0;
}