the rest of drivers/*: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -531,10 +531,10 @@ static ssize_t ppp_write(struct file *file, const char __user *buf,
|
||||
}
|
||||
|
||||
/* No kernel lock - fine */
|
||||
static unsigned int ppp_poll(struct file *file, poll_table *wait)
|
||||
static __poll_t ppp_poll(struct file *file, poll_table *wait)
|
||||
{
|
||||
struct ppp_file *pf = file->private_data;
|
||||
unsigned int mask;
|
||||
__poll_t mask;
|
||||
|
||||
if (!pf)
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user