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

Sven Van Asbroeck thesven73 at gmail.com
Tue May 21 14:24:50 UTC 2019


On Tue, May 21, 2019 at 10:20 AM Sven Van Asbroeck <thesven73 at gmail.com> wrote:
>
> From: Oscar Gomez Fuente <oscargomezf at gmail.com>
>
> ->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 at gmail.com>

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


More information about the devel mailing list