On Thursday, May 24, 2012 2:15:26 am Andriy Gapon wrote: > > Now that you committed the acpi_cpu fix I'd like to do the easy part - > protection from the problem in the future. > Does the following look OK? > > Index: sys/kern/subr_bus.c > =================================================================== > --- sys/kern/subr_bus.c (revision 235884) > +++ sys/kern/subr_bus.c (working copy) > @@ -1810,6 +1810,8 @@ > > PDEBUG(("%s at %s with order %u as unit %d", > name, DEVICENAME(dev), order, unit)); > + KASSERT(name != NULL || unit == -1, > + ("child device with wildcard name and specific unit number")); > > child = make_device(dev, name, unit); > if (child == NULL)
Yes, please do! -- John Baldwin _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"