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/cxl | |
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/cxl')
-rw-r--r-- | drivers/misc/cxl/api.c | 2 | ||||
-rw-r--r-- | drivers/misc/cxl/cxl.h | 2 | ||||
-rw-r--r-- | drivers/misc/cxl/file.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/drivers/misc/cxl/api.c b/drivers/misc/cxl/api.c index 7c11bad5cded..753b1a698fc4 100644 --- a/drivers/misc/cxl/api.c +++ b/drivers/misc/cxl/api.c | |||
@@ -427,7 +427,7 @@ int cxl_fd_mmap(struct file *file, struct vm_area_struct *vm) | |||
427 | return afu_mmap(file, vm); | 427 | return afu_mmap(file, vm); |
428 | } | 428 | } |
429 | EXPORT_SYMBOL_GPL(cxl_fd_mmap); | 429 | EXPORT_SYMBOL_GPL(cxl_fd_mmap); |
430 | unsigned int cxl_fd_poll(struct file *file, struct poll_table_struct *poll) | 430 | __poll_t cxl_fd_poll(struct file *file, struct poll_table_struct *poll) |
431 | { | 431 | { |
432 | return afu_poll(file, poll); | 432 | return afu_poll(file, poll); |
433 | } | 433 | } |
diff --git a/drivers/misc/cxl/cxl.h b/drivers/misc/cxl/cxl.h index e46a4062904a..a798c2ccd67d 100644 --- a/drivers/misc/cxl/cxl.h +++ b/drivers/misc/cxl/cxl.h | |||
@@ -1081,7 +1081,7 @@ int afu_open(struct inode *inode, struct file *file); | |||
1081 | int afu_release(struct inode *inode, struct file *file); | 1081 | int afu_release(struct inode *inode, struct file *file); |
1082 | long afu_ioctl(struct file *file, unsigned int cmd, unsigned long arg); | 1082 | long afu_ioctl(struct file *file, unsigned int cmd, unsigned long arg); |
1083 | int afu_mmap(struct file *file, struct vm_area_struct *vm); | 1083 | int afu_mmap(struct file *file, struct vm_area_struct *vm); |
1084 | unsigned int afu_poll(struct file *file, struct poll_table_struct *poll); | 1084 | __poll_t afu_poll(struct file *file, struct poll_table_struct *poll); |
1085 | ssize_t afu_read(struct file *file, char __user *buf, size_t count, loff_t *off); | 1085 | ssize_t afu_read(struct file *file, char __user *buf, size_t count, loff_t *off); |
1086 | extern const struct file_operations afu_fops; | 1086 | extern const struct file_operations afu_fops; |
1087 | 1087 | ||
diff --git a/drivers/misc/cxl/file.c b/drivers/misc/cxl/file.c index 76c0b0ca9388..90341ccda9bd 100644 --- a/drivers/misc/cxl/file.c +++ b/drivers/misc/cxl/file.c | |||
@@ -354,10 +354,10 @@ static inline bool ctx_event_pending(struct cxl_context *ctx) | |||
354 | return false; | 354 | return false; |
355 | } | 355 | } |
356 | 356 | ||
357 | unsigned int afu_poll(struct file *file, struct poll_table_struct *poll) | 357 | __poll_t afu_poll(struct file *file, struct poll_table_struct *poll) |
358 | { | 358 | { |
359 | struct cxl_context *ctx = file->private_data; | 359 | struct cxl_context *ctx = file->private_data; |
360 | int mask = 0; | 360 | __poll_t mask = 0; |
361 | unsigned long flags; | 361 | unsigned long flags; |
362 | 362 | ||
363 | 363 | ||