CVS: cvs.openbsd.org: src
Stefan Sperling <[email protected]>
| Newsgroups | gmane.os.openbsd.cvs |
|---|---|
| Message-ID | <[email protected]> |
CVSROOT: /cvs Module name: src Changes by: [email protected] 2026/07/18 03:47:52 Modified files: sys/dev/ic : qwx.c qwxvar.h sys/dev/pci : if_qwx_pci.c Log message: properly handle qwx VIF DMA map allocation failures at attach time qwx_attach() runs as a config_mountroot hook, which means errors returned from this function will be ignored. Since returning errors is pointless, change this function's return value type to void. There is a theoretical risk that allocating the virtual interface's DMA maps will fail. Allocate these maps earlier and avoid attaching the driver if the maps cannot be allocated.