if_vtnet.o failes to compile kernel on stable/15-n286556-5a9d56c68c08
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 03 Nov 2026 07:42:03 UTC
Hi,
today's attempt to compile the kernel on stable/15-n286556-5a9d56c68c08 fails, presumably due to these commits:
8a08808fe07e12e258bddcde00ca5e3c7e0cd950
94e19d4178e6aa758c0526345578ba56331813d7
--- if_vtnet.o ---
/usr/src/sys/dev/virtio/network/if_vtnet.c:3720:32: error: no member named 'vtnet_hdr_dmat' in 'struct vtnet_softc'
3720 | error = bus_dmamap_create(sc->vtnet_hdr_dmat, 0, &hdr_dmap);
| ~~ ^
/usr/src/sys/dev/virtio/network/if_vtnet.c:3724:30: error: no member named 'vtnet_hdr_dmat' in 'struct vtnet_softc'
3724 | error = bus_dmamap_load(sc->vtnet_hdr_dmat, hdr_dmap, &hdr,
| ~~ ^
/usr/src/sys/dev/virtio/network/if_vtnet.c:3725:19: error: use of undeclared identifier 'vtnet_load_callback'
3725 | sizeof(hdr), vtnet_load_callback, &hdr_paddr, BUS_DMA_NOWAIT);
| ^~~~~~~~~~~~~~~~~~~
/usr/src/sys/dev/virtio/network/if_vtnet.c:3732:22: error: no member named 'vtnet_hdr_dmat' in 'struct vtnet_softc'
3732 | bus_dmamap_sync(sc->vtnet_hdr_dmat, hdr_dmap, BUS_DMASYNC_PREWRITE);
| ~~ ^
/usr/src/sys/dev/virtio/network/if_vtnet.c:3739:9: error: assigning to 'int' from incompatible type 'void'
3739 | error = vtnet_exec_ctrl_cmd(sc, &ack, &sg, sg.sg_nseg, 1);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/sys/dev/virtio/network/if_vtnet.c:3743:24: error: no member named 'vtnet_hdr_dmat' in 'struct vtnet_softc'
3743 | bus_dmamap_unload(sc->vtnet_hdr_dmat, hdr_dmap);
| ~~ ^
/usr/src/sys/dev/virtio/network/if_vtnet.c:3745:25: error: no member named 'vtnet_hdr_dmat' in 'struct vtnet_softc'
3745 | bus_dmamap_destroy(sc->vtnet_hdr_dmat, hdr_dmap);
| ~~ ^
7 errors generated.
*** [if_vtnet.o] Error code 1
Regards,
Michael