Module Name: src
Committed By: martin
Date: Sun Apr 2 10:51:22 UTC 2023
Modified Files:
src/sys/dev/pci [netbsd-10]: virtio.c
Log Message:
Backout attempts to build fix for ticket #128 for this file, needs
other changes.
To generate a diff of this commit:
cvs rdiff -u -r1.63.2.2 -r1.63.2.3 src/sys/dev/pci/virtio.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/pci/virtio.c
diff -u src/sys/dev/pci/virtio.c:1.63.2.2 src/sys/dev/pci/virtio.c:1.63.2.3
--- src/sys/dev/pci/virtio.c:1.63.2.2 Sat Apr 1 10:31:06 2023
+++ src/sys/dev/pci/virtio.c Sun Apr 2 10:51:22 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: virtio.c,v 1.63.2.2 2023/04/01 10:31:06 martin Exp $ */
+/* $NetBSD: virtio.c,v 1.63.2.3 2023/04/02 10:51:22 martin Exp $ */
/*
* Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: virtio.c,v 1.63.2.2 2023/04/01 10:31:06 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: virtio.c,v 1.63.2.3 2023/04/02 10:51:22 martin Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -857,12 +857,12 @@ virtio_alloc_vq(struct virtio_softc *sc,
vq->vq_dmamap->dm_segs[0].ds_addr);
aprint_verbose_dev(sc->sc_dev,
- "allocated %" PRIuBUSSIZE " byte for virtqueue %d for %s, "
- "size %d\n", allocsize, index, name, vq_size);
+ "allocated %u byte for virtqueue %d for %s, size %d\n",
+ allocsize, index, name, vq_size);
if (allocsize3 > 0)
aprint_verbose_dev(sc->sc_dev,
- "using %" PRIuBUSSIZE " byte (%d entries) indirect "
- "descriptors\n", allocsize3, maxnsegs * vq_size);
+ "using %d byte (%d entries) indirect descriptors\n",
+ allocsize3, maxnsegs * vq_size);
sc->sc_nvqs++;