Re: [PATCH v3] staging: fieldbus: core: fix ->poll() annotation

From: Sven Van Asbroeck
Date: Tue May 21 2019 - 10:27:39 EST


On Tue, May 21, 2019 at 10:20 AM Sven Van Asbroeck <thesven73@xxxxxxxxx> wrote:
>
> From: Oscar Gomez Fuente <oscargomezf@xxxxxxxxx>
>
> ->poll() functions should return __poll_t, but the fieldbus
> core's poll() does not. This generates a sparse warning.
>
> Fix the ->poll() return value, and use recommended __poll_t
> constants (EPOLLxxx).
>
> Signed-off-by: Oscar Gomez Fuente <oscargomezf@xxxxxxxxx>

Please ignore this patch.
> /dev/null :)