binder: use EPOLLERR from eventpoll.h
[platform/kernel/linux-starfive.git] / drivers / android / binder.c
index 92128aa..71a40a4 100644 (file)
@@ -5030,7 +5030,7 @@ static __poll_t binder_poll(struct file *filp,
 
        thread = binder_get_thread(proc);
        if (!thread)
-               return POLLERR;
+               return EPOLLERR;
 
        binder_inner_proc_lock(thread->proc);
        thread->looper |= BINDER_LOOPER_STATE_POLL;