hp_host_info_t
hp_host_info_t __user *uarg = (void __user *) arg;
hp_host_info_t karg;
if (data_size == sizeof(hp_host_info_t))
if (copy_from_user(&karg, uarg, sizeof(hp_host_info_t))) {
if (copy_to_user((char __user *)arg, &karg, sizeof(hp_host_info_t))) {
#define HP_GETHOSTINFO _IOR(HP_IOC_MAGIC, 20, hp_host_info_t)