Re: [PATCH] xsk: fix xsk_poll()'s return type

From: Daniel Borkmann
Date: Thu Nov 21 2019 - 03:49:42 EST


On Wed, Nov 20, 2019 at 07:15:42AM +0100, Björn Töpel wrote:
> On 2019-11-20 01:10, Luc Van Oostenryck wrote:
> > xsk_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.
>
> Thanks for the cleanup!
>
> Acked-by: Björn Töpel <bjorn.topel@xxxxxxxxx>
>
> Daniel/Alexei: This should go through bpf-next.

Done, applied, thanks!