diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-07-03 06:39:46 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-11-28 11:06:58 -0500 |
commit | afc9a42b7464f76e1388cad87d8543c69f6f74ed (patch) | |
tree | abc3abe50053edd3dcf0b04c2d2a63640ee89f6b /drivers/misc/mei/main.c | |
parent | c23e0cb81e4021b9712b1093d54713991fd9b7c2 (diff) |
the rest of drivers/*: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/misc/mei/main.c')
-rw-r--r-- | drivers/misc/mei/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/mei/main.c b/drivers/misc/mei/main.c index 4f704641c574..505b710291e6 100644 --- a/drivers/misc/mei/main.c +++ b/drivers/misc/mei/main.c | |||
@@ -542,12 +542,12 @@ static long mei_compat_ioctl(struct file *file, | |||
542 | * | 542 | * |
543 | * Return: poll mask | 543 | * Return: poll mask |
544 | */ | 544 | */ |
545 | static unsigned int mei_poll(struct file *file, poll_table *wait) | 545 | static __poll_t mei_poll(struct file *file, poll_table *wait) |
546 | { | 546 | { |
547 | __poll_t req_events = poll_requested_events(wait); | 547 | __poll_t req_events = poll_requested_events(wait); |
548 | struct mei_cl *cl = file->private_data; | 548 | struct mei_cl *cl = file->private_data; |
549 | struct mei_device *dev; | 549 | struct mei_device *dev; |
550 | unsigned int mask = 0; | 550 | __poll_t mask = 0; |
551 | bool notify_en; | 551 | bool notify_en; |
552 | 552 | ||
553 | if (WARN_ON(!cl || !cl->dev)) | 553 | if (WARN_ON(!cl || !cl->dev)) |