diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2024-06-07 16:03:33 -0400 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2024-11-03 01:28:07 -0500 |
| commit | 89359897983825dbfc08578e7ee807aaf24d9911 (patch) | |
| tree | 8718ab16293168f57518c9d86dd73cc42c4c0ac8 /drivers/usb/cdns3/cdns3-starfive.c | |
| parent | d000e073ca2a08ab70accc28e93dee8d70e89d2f (diff) | |
do_pollfd(): convert to CLASS(fd)
lift setting ->revents into the caller, so that failure exits (including
the early one) would be plain returns.
We need the scope of our struct fd to end before the store to ->revents,
since that's shared with the failure exits prior to the point where we
can do fdget().
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-starfive.c')
0 files changed, 0 insertions, 0 deletions
