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
tpm: st33zp24: fix potential buffer overruns caused by bit glitches on the bus
[sfrench/cifs-2.6.git]
/
drivers
/
char
/
apm-emulation.c
diff --git
a/drivers/char/apm-emulation.c
b/drivers/char/apm-emulation.c
index a2a1c1478cd0833dc41b7f46ccf197e85668844d..a5e2f9e557eaa09e51092b5a7877c6d3f7f8be11 100644
(file)
--- a/
drivers/char/apm-emulation.c
+++ b/
drivers/char/apm-emulation.c
@@
-241,7
+241,7
@@
static __poll_t apm_poll(struct file *fp, poll_table * wait)
struct apm_user *as = fp->private_data;
poll_wait(fp, &apm_waitqueue, wait);
- return queue_empty(&as->queue) ? 0 :
POLLIN |
POLLRDNORM;
+ return queue_empty(&as->queue) ? 0 :
EPOLLIN | E
POLLRDNORM;
}
/*