Loading
USB: iowarrior: fix misuse of return value of copy_to_user()
copy_to_user() returns number of not copied bytes, not error code. Signed-off-by:Kulikov Vasiliy <segooon@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
copy_to_user() returns number of not copied bytes, not error code. Signed-off-by:Kulikov Vasiliy <segooon@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>