+10
−11
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Both copy_to_ and _from_user return the number of bytes, that failed to reach their destination, not the 0/-EXXX values. Based on patch from Pavel Emelyanov <xemul@openvz.org> Signed-off-by:Sam Ravnborg <sam@ravnborg.org> Acked-by:
Oliver Hartkopp <oliver.hartkopp@volkswagen.de> Signed-off-by:
David S. Miller <davem@davemloft.net>