Subject: kern/9281: rz.c and tz.c uses undefined macro BUFQ_INSERT_HEAD
To: None <gnats-bugs@gnats.netbsd.org>
From: None <erik@mediator.uni-c.dk>
List: netbsd-bugs
Date: 01/23/2000 11:33:36
>Number: 9281
>Category: kern
>Synopsis: rz.c and tz.c uses undefined macro BUFQ_INSERT_HEAD
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: kern-bug-people (Kernel Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jan 23 11:33:00 2000
>Last-Modified:
>Originator: Erik Bertelsen
>Organization:
>Release: NetBSD-current 23 Jan 2000
>Environment:
System: NetBSD sockdev.uni-c.dk 1.4P NetBSD 1.4P (SOCKDEV) #136: Sun Jan 16 21:08:31 CET 2000 erik@sockdev.uni-c.dk:/usr/src/sys/arch/pmax/compile/SOCKDEV pmax
>Description:
Since yesterday's sup, I cannot build a kernel on my pmax because an undefined
macro BUFQ_INSERT_HEAD is used.
I send this PR with category=kern rather than port-pmax because I tend to blame
the BUFQ makro redefinitions made a couple of days ago.
>How-To-Repeat:
dev/rz.c: BUFQ_INSERT_HEAD(&sc->sc_tab, &sc->sc_buf);
dev/rz.c: BUFQ_INSERT_HEAD(&sc->sc_tab, &sc->sc_buf);
dev/rz.c: BUFQ_INSERT_HEAD(&sc->sc_tab, &sc->sc_buf);
dev/rz.c: BUFQ_INSERT_HEAD(&sc->sc_tab, &sc->sc_buf);
dev/rz.c: BUFQ_INSERT_HEAD(&sc->sc_tab, &sc->sc_errbuf);
dev/rz.c: BUFQ_INSERT_HEAD(&sc->sc_tab, &sc->sc_buf);
dev/rz.c: BUFQ_INSERT_HEAD(&sc->sc_tab, &sc->sc_buf);
dev/tz.c: BUFQ_INSERT_HEAD(&sc->sc_tab, &sc->sc_buf);
dev/tz.c: BUFQ_INSERT_HEAD(&sc->sc_tab, &sc->sc_buf);
dev/tz.c: BUFQ_INSERT_HEAD(&sc->sc_tab, &sc->sc_buf);
dev/tz.c: BUFQ_INSERT_HEAD(&sc->sc_tab, &sc->sc_errbuf);
>Fix:
Either define BUFQ_INSERT_HEAD appropriately in <sys/buf.h> or change the uses.
regards
Erik Bertelsen
>Audit-Trail:
>Unformatted: