Besides the fact that you'll probably never see a ipw(4) device in a sparc64, the bus_space_write_*_multi() functions should definitely be constify'ed like in all other arches. Damien FreeBSD Tinderbox wrote: > TB --- 2006-03-13 19:02:48 - tinderbox 2.3 running on freebsd-current.sentex.ca > TB --- 2006-03-13 19:02:48 - starting HEAD tinderbox run for sparc64/sparc64 > TB --- 2006-03-13 19:02:48 - cleaning the object tree > TB --- 2006-03-13 19:03:20 - checking out the source tree > TB --- 2006-03-13 19:03:20 - cd /tinderbox/HEAD/sparc64/sparc64 > TB --- 2006-03-13 19:03:20 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src > TB --- 2006-03-13 19:10:15 - building world (CFLAGS=-O2 -pipe) > TB --- 2006-03-13 19:10:15 - cd /src > TB --- 2006-03-13 19:10:15 - /usr/bin/make -B buildworld > >>>>Rebuilding the temporary build tree >>>>stage 1.1: legacy release compatibility shims >>>>stage 1.2: bootstrap tools >>>>stage 2.1: cleaning up the object tree >>>>stage 2.2: rebuilding the object tree >>>>stage 2.3: build tools >>>>stage 3: cross tools >>>>stage 4.1: building includes >>>>stage 4.2: building libraries >>>>stage 4.3: make dependencies >>>>stage 4.4: building everything > > TB --- 2006-03-13 20:16:02 - generating LINT kernel config > TB --- 2006-03-13 20:16:02 - cd /src/sys/sparc64/conf > TB --- 2006-03-13 20:16:02 - /usr/bin/make -B LINT > TB --- 2006-03-13 20:16:02 - building LINT kernel (COPTFLAGS=-O2 -pipe) > TB --- 2006-03-13 20:16:02 - cd /src > TB --- 2006-03-13 20:16:02 - /usr/bin/make buildkernel KERNCONF=LINT > >>>>Kernel build for LINT started on Mon Mar 13 20:16:02 UTC 2006 >>>>stage 1: configuring the kernel >>>>stage 2.1: cleaning up the object tree >>>>stage 2.2: rebuilding the object tree >>>>stage 2.3: build tools >>>>stage 3.1: making dependencies >>>>stage 3.2: building everything > > [...] > touch export_syms > awk -f /src/sys/modules/ip_mroute_mod/../../conf/kmod_syms.awk ip_mroute.kld export_syms | xargs -J% objcopy % ip_mroute.kld > ld -Bshareable -d -warn-common -o ip_mroute.ko ip_mroute.kld > objcopy --strip-debug ip_mroute.ko > ===> ipw (all) > cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -DHAVE_KERNEL_OPTION_HEADERS -include /obj/sparc64/src/sys/LINT/opt_global.h -I. -I_at_ -I_at_/contrib/altq -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -I/obj/sparc64/src/sys/LINT -mcmodel=medlow -msoft-float -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c /src/sys/modules/ipw/../../dev/ipw/if_ipw.c > /src/sys/modules/ipw/../../dev/ipw/if_ipw.c: In function `ipw_load_ucode': > /src/sys/modules/ipw/../../dev/ipw/if_ipw.c:1661: warning: passing arg 4 of `bus_space_write_multi_1' discards qualifiers from pointer target type > *** Error code 1 > > Stop in /src/sys/modules/ipw. > *** Error code 1 > > Stop in /src/sys/modules. > *** Error code 1 > > Stop in /obj/sparc64/src/sys/LINT. > *** Error code 1 > > Stop in /src. > *** Error code 1 > > Stop in /src. > TB --- 2006-03-13 20:31:32 - WARNING: /usr/bin/make returned exit code 1 > TB --- 2006-03-13 20:31:32 - ERROR: failed to build lint kernel > TB --- 2006-03-13 20:31:32 - tinderbox aborted > TB --- 1.02 user 4.96 system 5323.76 real > > _______________________________________________ > freebsd-current_at_freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org" > >Received on Mon Mar 13 2006 - 19:55:10 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:53 UTC