diff options
Diffstat (limited to 'drivers/net/tap.c')
-rw-r--r-- | drivers/net/tap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/tap.c b/drivers/net/tap.c index e9489b88407c..c4e91c73568e 100644 --- a/drivers/net/tap.c +++ b/drivers/net/tap.c | |||
@@ -572,10 +572,10 @@ static int tap_release(struct inode *inode, struct file *file) | |||
572 | return 0; | 572 | return 0; |
573 | } | 573 | } |
574 | 574 | ||
575 | static unsigned int tap_poll(struct file *file, poll_table *wait) | 575 | static __poll_t tap_poll(struct file *file, poll_table *wait) |
576 | { | 576 | { |
577 | struct tap_queue *q = file->private_data; | 577 | struct tap_queue *q = file->private_data; |
578 | unsigned int mask = POLLERR; | 578 | __poll_t mask = POLLERR; |
579 | 579 | ||
580 | if (!q) | 580 | if (!q) |
581 | goto out; | 581 | goto out; |