--- Gnu-Mach/device/ds_routines.c 2020/09/02 04:50:08 1.1.1.6 +++ Gnu-Mach/device/ds_routines.c 2020/09/02 04:52:14 1.1.1.7 @@ -140,7 +140,7 @@ ds_device_open (ipc_port_t open_port, ip mach_msg_type_name_t reply_port_type, dev_mode_t mode, char *name, device_t *devp) { - int i; + unsigned i; io_return_t err; /* Open must be called on the master device port. */ @@ -1554,7 +1554,7 @@ void mach_device_init(void) device_io_map->wait_for_space = TRUE; kmem_cache_init(&io_inband_cache, "io_buf_ptr_inband", - sizeof(io_buf_ptr_inband_t), 0, NULL, NULL, NULL, 0); + sizeof(io_buf_ptr_inband_t), 0, NULL, 0); mach_device_trap_init(); } @@ -1598,7 +1598,7 @@ static void mach_device_trap_init(void) { kmem_cache_init(&io_trap_cache, "io_req", IOTRAP_REQSIZE, 0, - NULL, NULL, NULL, 0); + NULL, 0); } /* @@ -1715,7 +1715,7 @@ device_writev_trap (mach_device_t device io_return_t result; io_buf_vec_t stack_iovec[16]; /* XXX */ vm_size_t data_count; - int i; + unsigned i; if (device->state != DEV_STATE_OPEN) return (D_NO_SUCH_DEVICE);