From owner-cvs-all Tue Oct 15 11:56:15 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1495837B401; Tue, 15 Oct 2002 11:56:14 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B89CE43E4A; Tue, 15 Oct 2002 11:56:13 -0700 (PDT) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id g9FIuDMt092941; Tue, 15 Oct 2002 11:56:13 -0700 (PDT) (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.12.6/8.12.3/Submit) id g9FIuDVw092937; Tue, 15 Oct 2002 11:56:13 -0700 (PDT) Message-Id: <200210151856.g9FIuDVw092937@repoman.freebsd.org> From: Poul-Henning Kamp Date: Tue, 15 Oct 2002 11:56:13 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_bus.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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