mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 21:07:02 +09:00
@@ -1087,8 +1087,8 @@ static long pmem_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
|
||||
region.offset = pmem_start_addr(id, data);
|
||||
region.len = pmem_len(id, data);
|
||||
}
|
||||
//printk(KERN_INFO "pmem: request for physical address of pmem region "
|
||||
// "from process %d.\n", current->pid);
|
||||
printk(KERN_INFO "pmem: request for physical address of pmem region "
|
||||
"from process %d.\n", current->pid);
|
||||
if (copy_to_user((void __user *)arg, ®ion,
|
||||
sizeof(struct pmem_region)))
|
||||
return -EFAULT;
|
||||
|
||||
Reference in New Issue
Block a user