> > Index: ic/malo.c > > - ring->data = malloc(count * sizeof (struct malo_rx_data), M_DEVBUF, > > - M_NOWAIT); > > + ring->data = mallocarray(count, sizeof (struct malo_rx_data), > > + M_DEVBUF, M_NOWAIT); > > Might as well s/sizeof (/sizeof(/ while you're here.
And fix the interrupt handler while I am there, too? You missed the point of doing only one step.