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

@@ -1248,12 +1248,12 @@ static void tun_net_init(struct net_device *dev)
/* Character device part */
/* Poll */
static unsigned int tun_chr_poll(struct file *file, poll_table *wait)
static __poll_t tun_chr_poll(struct file *file, poll_table *wait)
{
struct tun_file *tfile = file->private_data;
struct tun_struct *tun = tun_get(tfile);
struct sock *sk;
unsigned int mask = 0;
__poll_t mask = 0;
if (!tun)
return POLLERR;