mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 10:09:07 +00:00
fix some pedantic xhyve build issues with newer toolchain
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
f98fb92480
commit
38aef85f6a
@ -212,7 +212,7 @@ pci_vt9p_notify(void *vsc, struct vqueue_info *vq)
|
||||
}
|
||||
if (wiov == NULL && (flags[i] & VRING_DESC_F_WRITE)) {
|
||||
wiov = &iov[i];
|
||||
DPRINTF(("vt9p wiov is %p\r\n", wiov));
|
||||
DPRINTF(("vt9p wiov is %p\r\n", (void *)wiov));
|
||||
}
|
||||
}
|
||||
/* do this properly */
|
||||
|
@ -291,7 +291,7 @@ vhpet_handler(void *a)
|
||||
callout_deactivate(callout);
|
||||
|
||||
if (!vhpet_counter_enabled(vhpet))
|
||||
xhyve_abort("vhpet(%p) callout with counter disabled\n", vhpet);
|
||||
xhyve_abort("vhpet(%p) callout with counter disabled\n", (void *)vhpet);
|
||||
|
||||
counter = vhpet_counter(vhpet, &now);
|
||||
vhpet_start_timer(vhpet, n, counter, now);
|
||||
|
Loading…
Reference in New Issue
Block a user