[PATCH v3] staging: fieldbus: core: fix ->poll() annotation
Dan Carpenter
dan.carpenter at oracle.com
Tue May 21 14:37:30 UTC 2019
On Tue, May 21, 2019 at 10:20:09AM -0400, Sven Van Asbroeck 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>
> ---
If you're resending someone's patch, you have to add your own Signed off
by line as well. Everyone who touches a patch has to sign that they
didn't add any of SCO's all powerful UnixWare source code into the
patch.
regards,
dan carpenter
More information about the devel
mailing list