Add a check for the return value of __copy_to_user Depends on the previous whitespace fix patch. Signed-off-by: Daniel Drake