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/platform/surface/aggregator/ssh_parser.c | |
| parent | convert do_select() (diff) | |
| download | linux-89359897983825dbfc08578e7ee807aaf24d9911.tar.gz linux-89359897983825dbfc08578e7ee807aaf24d9911.zip | |
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/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions
