net: annotate ->poll() instances

Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
Al Viro 2017-07-03 00:01:49 -04:00
commit ade994f4f6
40 changed files with 77 additions and 76 deletions

View file

@ -292,7 +292,7 @@ out:
return len;
}
static unsigned int batadv_socket_poll(struct file *file, poll_table *wait)
static __poll_t batadv_socket_poll(struct file *file, poll_table *wait)
{
struct batadv_socket_client *socket_client = file->private_data;

View file

@ -176,7 +176,7 @@ static ssize_t batadv_log_read(struct file *file, char __user *buf,
return error;
}
static unsigned int batadv_log_poll(struct file *file, poll_table *wait)
static __poll_t batadv_log_poll(struct file *file, poll_table *wait)
{
struct batadv_priv *bat_priv = file->private_data;
struct batadv_priv_debug_log *debug_log = bat_priv->debug_log;