scsi: change address argument type from unsigned long to kernel_ureg_t

* scsi.c (print_sg_io_buffer): Change address argument type
from unsigned long to kernel_ureg_t.
This commit is contained in:
Дмитрий Левин 2016-12-21 03:03:09 +00:00
parent f070096094
commit 4c7a353896

3
scsi.c
View File

@ -51,7 +51,8 @@ print_uchar(struct tcb *tcp, void *elem_buf, size_t elem_size, void *data)
}
static void
print_sg_io_buffer(struct tcb *tcp, const unsigned long addr, const unsigned int len)
print_sg_io_buffer(struct tcb *const tcp, const kernel_ureg_t addr,
const unsigned int len)
{
unsigned char buf;