Cross-compilation and bug fix

Moving from simple_strtol to kstrtol triggered a bug into copy_from_user.