cvs commit: src/sys/pci if_vr.c
Maxim Maximov
mcsi at mcsi.pp.ru
Tue Oct 19 09:27:27 PDT 2004
Bruce M Simpson wrote:
> bms 2004-10-19 15:30:47 UTC
>
> FreeBSD src repository
>
> Modified files:
> sys/pci if_vr.c
> Log:
> Detach the Rhine completely on shutdown, rather than merely stopping it
> as the original logic did. This fixes a race with vr_intr() which was
> masked on UP systems and manifested on SMP systems.
>
> PR: kern/62889
> MFC after: 1 day
>
Kernel build fails:
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I.
-I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica
-I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter
-I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath
-I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm
-D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param
inline-unit-growth=100 --param large-function-growth=1000
-mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding
-Werror /usr/src/sys/pci/if_vr.c
/usr/src/sys/pci/if_vr.c: In function `vr_shutdown':
/usr/src/sys/pci/if_vr.c:1695: warning: passing arg 1 of `vr_detach'
from incompatible pointer type
*** Error code 1
Stop in /usr/obj/usr/src/sys/ULTRA.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
Exit 1
--
Maxim Maximov
More information about the cvs-src
mailing list