Subject: kern/20194: tp_subr.c compile error after callout changes
To: None <gnats-bugs@gnats.netbsd.org>
From: None <naoki@fukaumi.org>
List: netbsd-bugs
Date: 02/04/2003 15:18:20
>Number: 20194
>Category: kern
>Synopsis: tp_subr.c compile error after callout changes
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Feb 03 22:19:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: FUKAUMI Naoki
>Release: NetBSD 1.6M
>Organization:
FUKAUMI Naoki
>Environment:
System: NetBSD nforce.naobsd.org 1.6M NetBSD 1.6M (NFORCE.XCAST6) #0: Thu Jan 30 15:36:43 JST 2003 fun@nforce.naobsd.org:/usr/obj/i386/sys/arch/i386/compile/NFORCE.XCAST6 i386
Architecture: i386
Machine: i386
>Description:
While GENERIC kernel compiling with -current source...
/home/t/i386/bin/i386--netbsdelf-gcc -ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -Wno-uninitialized -Di386 -I. -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c /usr/src/sys/netiso/tp_subr.c
cc1: warnings being treated as errors
/usr/src/sys/netiso/tp_subr.c: In function `tp_rtt_rtv':
/usr/src/sys/netiso/tp_subr.c:173: warning: unused variable `s'
/usr/src/sys/netiso/tp_subr.c: In function `tp_send':
/usr/src/sys/netiso/tp_subr.c:498: warning: unused variable `s'
*** Error code 1
Stop.
nbmake: stopped in /usr/obj/i386/sys/arch/i386/compile/GENERIC
>How-To-Repeat:
Make kernel.
>Fix:
Delete unused variable `s'.
>Release-Note:
>Audit-Trail:
>Unformatted: