the rest of drivers/*: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -427,7 +427,7 @@ int cxl_fd_mmap(struct file *file, struct vm_area_struct *vm)
|
||||
return afu_mmap(file, vm);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(cxl_fd_mmap);
|
||||
unsigned int cxl_fd_poll(struct file *file, struct poll_table_struct *poll)
|
||||
__poll_t cxl_fd_poll(struct file *file, struct poll_table_struct *poll)
|
||||
{
|
||||
return afu_poll(file, poll);
|
||||
}
|
||||
|
@@ -1081,7 +1081,7 @@ int afu_open(struct inode *inode, struct file *file);
|
||||
int afu_release(struct inode *inode, struct file *file);
|
||||
long afu_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
|
||||
int afu_mmap(struct file *file, struct vm_area_struct *vm);
|
||||
unsigned int afu_poll(struct file *file, struct poll_table_struct *poll);
|
||||
__poll_t afu_poll(struct file *file, struct poll_table_struct *poll);
|
||||
ssize_t afu_read(struct file *file, char __user *buf, size_t count, loff_t *off);
|
||||
extern const struct file_operations afu_fops;
|
||||
|
||||
|
@@ -354,10 +354,10 @@ static inline bool ctx_event_pending(struct cxl_context *ctx)
|
||||
return false;
|
||||
}
|
||||
|
||||
unsigned int afu_poll(struct file *file, struct poll_table_struct *poll)
|
||||
__poll_t afu_poll(struct file *file, struct poll_table_struct *poll)
|
||||
{
|
||||
struct cxl_context *ctx = file->private_data;
|
||||
int mask = 0;
|
||||
__poll_t mask = 0;
|
||||
unsigned long flags;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user