the rest of drivers/*: annotate ->poll() instances

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2017-07-03 06:39:46 -04:00
parent c23e0cb81e
commit afc9a42b74
144 changed files with 257 additions and 256 deletions

View File

@@ -559,11 +559,11 @@ unlock_out:
return ret;
}
static unsigned int
static __poll_t
vcs_poll(struct file *file, poll_table *wait)
{
struct vcs_poll_data *poll = vcs_poll_data_get(file);
int ret = DEFAULT_POLLMASK|POLLERR|POLLPRI;
__poll_t ret = DEFAULT_POLLMASK|POLLERR|POLLPRI;
if (poll) {
poll_wait(file, &poll->waitq, wait);