[issue1324] [PATCH]: ugensa.c: better handling of Huawei Modems

Brendan Kosowski bmk at bmk.com.au
Tue May 12 05:35:58 PDT 2009


Hi Alex, version 2 of you patch is not building:

===> dev/usbmisc/ugensa
cc -O -pipe    -D_KERNEL -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -Werror-implicit-function-declaration  -std=c99 
-DKLD_MODULE -nostdinc  -I. -I@ -I/usr/src/sys/compile/GENERIC_p2 
-I/usr/src/sys/compile/GENERIC_p2/include -I/usr/include -include 
/usr/src/sys/compile/GENERIC_p2/opt_global.h -g -finline-limit=8000 
--param inline-unit-growth=100 --param large-function-growth=1000 
-fno-common -ffreestanding -mpreferred-stack-boundary=2 
-fno-stack-protector -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 
-Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual 
-Werror-implicit-function-declaration  -std=c99 -c 
/usr/src/sys/dev/usbmisc/ugensa/ugensa.c
/usr/src/sys/dev/usbmisc/ugensa/ugensa.c: In function 'ugensa_match':
/usr/src/sys/dev/usbmisc/ugensa/ugensa.c:186: error: expected ')' before 
'{' token
/usr/src/sys/dev/usbmisc/ugensa/ugensa.c:202: error: expected expression 
before '}' token
/usr/src/sys/dev/usbmisc/ugensa/ugensa.c:172: warning: unused variable 'id'
*** Error code 1

Stop in /usr/src/sys/dev/usbmisc/ugensa.
*** Error code 1
Stop in /usr/src/sys/dev/usbmisc.
*** Error code 1
Stop in /usr/src/sys/dev.
*** Error code 1
Stop in /usr/src/sys.
*** Error code 1
Stop in /usr/src/sys/compile/GENERIC_p2.
#




More information about the Bugs mailing list