diff options
| author | Carlos Llamas <[email protected]> | 2023-12-01 17:21:30 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-12-05 09:23:37 +0900 |
| commit | 6ac061db9c58ca5b9270b1b3940d2464fb3ff183 (patch) | |
| tree | 5761f94d4b75decc9e1584aec5f0154907f59483 /tools/perf/scripts/python/syscall-counts.py | |
| parent | ad6bcdad2b6724e113f191a12f859a9e8456b26d (diff) | |
binder: use EPOLLERR from eventpoll.h
Use EPOLLERR instead of POLLERR to make sure it is cast to the correct
__poll_t type. This fixes the following sparse issue:
drivers/android/binder.c:5030:24: warning: incorrect type in return expression (different base types)
drivers/android/binder.c:5030:24: expected restricted __poll_t
drivers/android/binder.c:5030:24: got int
Fixes: f88982679f54 ("binder: check for binder_thread allocation failure in binder_poll()")
Cc: [email protected]
Cc: Eric Biggers <[email protected]>
Reviewed-by: Alice Ryhl <[email protected]>
Signed-off-by: Carlos Llamas <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions