Subject: kern/20534: fwohci.c FW_DEBUG doesn't compile on alpha
To: None <gnats-bugs@gnats.netbsd.org>
From: Erik E. Fair <fair@timex.clock.org>
List: netbsd-bugs
Date: 02/28/2003 22:21:03
>Number:         20534
>Category:       kern
>Synopsis:       fwohci.c FW_DEBUG doesn't compile on alpha
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 28 22:22:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Erik E. Fair
>Release:        NetBSD 1.6O
>Organization:
International Organization of Internet Clock Watchers
>Environment:
	
	
System: NetBSD timex.clock.org 1.6O NetBSD 1.6O (MIATA-GL) #1: Sun Feb 23 15:04:04 PST 2003 root@timex.clock.org:/usr/obj/sys/arch/alpha/compile/MIATA-GL alpha
Architecture: alpha
Machine: alpha
>Description:
	the FW_DEBUG code in fwohci.c doesn't compile on alpha.
>How-To-Repeat:
cc  -pipe -mcpu=21164a -mno-fp-regs -ffreestanding  -pipe -O2 -mcpu=21164a -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -Wno-uninitialized  -Dalpha -I.  -I/sys/arch -I/sys -nostdinc -DDIAGNOSTIC -DFW_DEBUG -DFWNODE_DEBUG -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT   -c /sys/dev/ieee1394/fwohci.c
cc1: warnings being treated as errors
/sys/dev/ieee1394/fwohci.c: In function `fwohci_ir_buf_setup':
/sys/dev/ieee1394/fwohci.c:4763: warning: int format, different type arg (arg 2)
/sys/dev/ieee1394/fwohci.c: In function `fwohci_ir_read':
/sys/dev/ieee1394/fwohci.c:5032: warning: int format, different type arg (arg 2)
/sys/dev/ieee1394/fwohci.c: In function `fwohci_ir_wait':
/sys/dev/ieee1394/fwohci.c:5262: warning: int format, different type arg (arg 2)
/sys/dev/ieee1394/fwohci.c:5262: warning: int format, different type arg (arg 3)
*** Error code 1

Stop.
make: stopped in /usr/obj/sys/arch/alpha/compile/MIATA-GL
	
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: