fs: annotate ->poll() instances

Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
Al Viro 2017-07-03 01:02:18 -04:00
commit 076ccb76e1
24 changed files with 41 additions and 41 deletions

View file

@ -61,10 +61,10 @@ static struct class *coda_psdev_class;
* Device operations
*/
static unsigned int coda_psdev_poll(struct file *file, poll_table * wait)
static __poll_t coda_psdev_poll(struct file *file, poll_table * wait)
{
struct venus_comm *vcp = (struct venus_comm *) file->private_data;
unsigned int mask = POLLOUT | POLLWRNORM;
__poll_t mask = POLLOUT | POLLWRNORM;
poll_wait(file, &vcp->vc_waitq, wait);
mutex_lock(&vcp->vc_mutex);