Skip to content
Commit efc7ae3f authored by Angus Chen's avatar Angus Chen Committed by Greg Kroah-Hartman
Browse files

uio: Fix return value of poll



The return type of __poll_t can't be negative,
-EIO will be translate to __poll_t,and will return to caller.

Fixes: beafc54c ("UIO: Add the User IO core code")
Signed-off-by: default avatarAngus Chen <angus.chen@jaguarmicro.com>
Link: https://lore.kernel.org/r/20241126124259.1367-1-angus.chen@jaguarmicro.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 54932d72
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment