Carlos Llamas <cmllamas@xxxxxxxxxx> writes: > 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: stable@xxxxxxxxxxxxxxx > Cc: Eric Biggers <ebiggers@xxxxxxxxxx> > Signed-off-by: Carlos Llamas <cmllamas@xxxxxxxxxx> Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>