Subject: kern/34219: ubtbcmfw.c does not compile
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <andreas@planix.com>
List: netbsd-bugs
Date: 08/16/2006 23:05:00
>Number:         34219
>Category:       kern
>Synopsis:       ubtbcmfw.c does not compile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 16 23:05:00 +0000 2006
>Originator:     Andreas Wrede <andreas@planix.com>
>Release:        NetBSD 4.0_BETA
>Organization:
Planix, Inc.
>Environment:
	
	
System: NetBSD waci 4.0_BETA NetBSD 4.0_BETA (PLANIX.MPACPI) #0: Wed Aug 16 09:46:35 EDT 2006  root@woffi.wrede.pvt:/m5/netbsd-4.0/obj.i386/sys/arch/i386/compile/PLANIX.MPACPI i386
Architecture: i386
Machine: i386
>Description:
	
/m5/netbsd-4.0/src/sys/dev/usb/ubtbcmfw.c: In function 'ubtbcmfw_attach':
/m5/netbsd-4.0/src/sys/dev/usb/ubtbcmfw.c:156: warning: passing argument 3 of 'ubtbcmfw_write' discards qualifiers from pointer target type
/m5/netbsd-4.0/src/sys/dev/usb/ubtbcmfw.c: In function 'ubtbcmfw_load_file':
/m5/netbsd-4.0/src/sys/dev/usb/ubtbcmfw.c:231: error: 'time' undeclared (first use in this function)
/m5/netbsd-4.0/src/sys/dev/usb/ubtbcmfw.c:231: error: (Each undeclared identifier is reported only once
/m5/netbsd-4.0/src/sys/dev/usb/ubtbcmfw.c:231: error: for each function it appears in.)
/m5/netbsd-4.0/src/sys/dev/usb/ubtbcmfw.c:261: error: 'p' undeclared (first use in this function)


>How-To-Repeat:
	add 'ubtbcmfw* at uhub? port ? configuration ? interface ?'
	to your kernel config, compile
>Fix:

>Unformatted: