Subject: kern/23802: warning CBB_DEBUG
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <kiyohara@kk.iij4u.or.jp>
List: netbsd-bugs
Date: 12/19/2003 17:59:41
>Number: 23802
>Category: kern
>Synopsis: warning CBB_DEBUG
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Dec 19 18:00:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: KIYOHARA Takashi
>Release: 1.6ZF
>Organization:
>Environment:
NetBSD highpriestess.fool 1.6ZF NetBSD 1.6ZF (HIGHPRIESTESS) #0: Sat Nov 22 12:19:34 GMT 2003 lance@highpriestess.fool:/usr/src/sys/arch/i386/compile/HIGHPRIESTESS i386
>Description:
you will receive warning at sys/dev/pci/pccbb.c, if you defined macro CBB_DEBUG.
ex.
---
../../../../dev/pci/pccbb.c: In function `pccbbattach':
../../../../dev/pci/pccbb.c:505: warning: long unsigned int format, bus_addr_t arg (arg 3)
*** Failed target: pccbb.o
*** Failed command: echo '# ' "compile " pccbb.o; echo /usr/src/tools_powerpc/bin/powerpc--netbsd-gcc -mcpu=403 -msoft-float -ffreestanding -g -O2 -Wreturn-type -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -D__obs405__ -Devbppc -I. -I../../../../arch -I../../../.. -nostdinc -DPPC_INTR_IMPL="<powerpc/ibm4xx/ibm4xx_intr.h>" -DPPC_PCI_MACHDEP_IMPL="<powerpc/ibm4xx/pci_machdep.h>" -DKERNBASE="0x25000" -DSPILLSTK="1024" -DDEBUG -DTRAP_PANICWAIT -DEXT2FS_SYSTEM_FLAGS -DNMBCLUSTERS="1024" -DEMAC_EVENT_COUNTERS -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c ../../../../dev/pci/pccbb.c; /usr/src/tools_powerpc/bin/powerpc--netbsd-gcc -mcpu=403 -msoft-float -ffreestanding -g -O2 -Wreturn-type -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -D__obs405__ -Devbppc -I. -I../../../../arch -I../../../.. -nostdinc -DPPC_INTR_IMPL="<powerpc/ibm4xx/ib
m4xx_intr.h>" -DPPC_PCI_MACHDEP_IMPL="<powerpc/ibm4xx/pci_machdep.h>" -DKERNBASE="0x25000" -DSPILLSTK="1024" -DDEBUG -DTRAP_PANICWAIT -DEXT2FS_SYSTEM_FLAGS -DNMBCLUSTERS="1024" -DEMAC_EVENT_COUNTERS -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c ../../../../dev/pci/pccbb.c
*** Error code 1
>How-To-Repeat:
you defining CBB_DEBUG to your GENERIC file.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: