net: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -1139,10 +1139,10 @@ static int rfkill_fop_open(struct inode *inode, struct file *file)
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
static unsigned int rfkill_fop_poll(struct file *file, poll_table *wait)
|
||||
static __poll_t rfkill_fop_poll(struct file *file, poll_table *wait)
|
||||
{
|
||||
struct rfkill_data *data = file->private_data;
|
||||
unsigned int res = POLLOUT | POLLWRNORM;
|
||||
__poll_t res = POLLOUT | POLLWRNORM;
|
||||
|
||||
poll_wait(file, &data->read_wait, wait);
|
||||
|
||||
|
Reference in New Issue
Block a user