Date: Tue, 15 Oct 2002 11:56:13 -0700 (PDT) From: Poul-Henning Kamp <phk@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_bus.c Message-ID: <200210151856.g9FIuDVw092937@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 2002/10/15 11:56:13 PDT
Modified files:
sys/kern subr_bus.c
Log:
Use ; not , as statement separator in PDEBUG() macro.
Ignoring a NULL dev in device_set_ivars() sounds wrong, KASSERT it to
non-NULL instead.
Do the same for device_get_ivars() for reasons of symmetry, though
it probably would have yielded a panic anyway, this gives more precise
diagnostics.
Absentmindedly nodded OK to by: jhb
Revision Changes Path
1.115 +4 -5 src/sys/kern/subr_bus.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210151856.g9FIuDVw092937>
