diff options
| author | Luc Van Oostenryck <[email protected]> | 2019-11-20 00:33:20 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2019-11-20 10:48:50 +0000 |
| commit | 9e77716a75bc6cf54965e5ec069ba7c02b32251c (patch) | |
| tree | 5a84c6ab1aacff9824cae200d073209ae6506a14 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
| parent | Linux 5.4-rc8 (diff) | |
| download | kernel-9e77716a75bc6cf54965e5ec069ba7c02b32251c.tar.gz kernel-9e77716a75bc6cf54965e5ec069ba7c02b32251c.zip | |
fork: fix pidfd_poll()'s return type
pidfd_poll() is defined as returning 'unsigned int' but the
.poll method is declared as returning '__poll_t', a bitwise type.
Fix this by using the proper return type and using the EPOLL
constants instead of the POLL ones, as required for __poll_t.
Fixes: b53b0b9d9a61 ("pidfd: add polling support")
Cc: Joel Fernandes (Google) <[email protected]>
Cc: [email protected] # 5.3
Signed-off-by: Luc Van Oostenryck <[email protected]>
Reviewed-by: Christian Brauner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions
