mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
net: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
e6c5a7d997
commit
ade994f4f6
40 changed files with 77 additions and 76 deletions
|
@ -340,12 +340,12 @@ rpc_pipe_write(struct file *filp, const char __user *buf, size_t len, loff_t *of
|
|||
return res;
|
||||
}
|
||||
|
||||
static unsigned int
|
||||
static __poll_t
|
||||
rpc_pipe_poll(struct file *filp, struct poll_table_struct *wait)
|
||||
{
|
||||
struct inode *inode = file_inode(filp);
|
||||
struct rpc_inode *rpci = RPC_I(inode);
|
||||
unsigned int mask = POLLOUT | POLLWRNORM;
|
||||
__poll_t mask = POLLOUT | POLLWRNORM;
|
||||
|
||||
poll_wait(filp, &rpci->waitq, wait);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue