mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
net: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
e6c5a7d997
commit
ade994f4f6
40 changed files with 77 additions and 76 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue