Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Nov 2010 14:11:22 +0100
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Maxim Sobolev <sobomax@FreeBSD.org>
Cc:        svn-src-stable@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   Re: svn commit: r215368 - in stable/7/sys: arm/at91 arm/xscale/ixp425 contrib/dev/oltr dev/ae dev/an dev/ar dev/arl dev/ath dev/awi dev/ce dev/cm dev/cnw dev/cp dev/cs dev/ctau dev/cx dev/cxgb dev/ed d...
Message-ID:  <86k4kd8lc5.fsf@ds4.des.no>
In-Reply-To: <201011160440.oAG4e3YU039413@svn.freebsd.org> (Maxim Sobolev's message of "Tue, 16 Nov 2010 04:40:03 %2B0000 (UTC)")
References:  <201011160440.oAG4e3YU039413@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Maxim Sobolev <sobomax@FreeBSD.org> writes:
> Index: freebsd/base/stable/7/sys/netipx/ipx_input.c
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> --- freebsd/base/stable/7/sys/netipx/ipx_input.c        (revision
> 215367)
> +++ freebsd/base/stable/7/sys/netipx/ipx_input.c        (revision
> 215368)
> @@ -119,7 +119,7 @@
>  struct ipxpcbhead      ipxpcb_list;
>  struct ipxpcbhead      ipxrawpcb_list;
>=20=20
> -static int ipxqmaxlen =3D IFQ_MAXLEN;
> +static int ipxqmaxlen =3D ifqmaxlen;
>  static struct ifqueue ipxintrq;
>=20=20
>  long   ipx_pexseq;             /* Locked with ipxpcb_list_mtx. */

That's not going to fly.

cc -c -O2 -pipe -fno-strict-aliasing  -std=3Dc99  -Wall -Wredundant-decls -=
Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -=
Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdin=
c  -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HE=
ADERS -include opt_global.h -fno-common -finline-limit=3D15000 --param inli=
ne-unit-growth=3D100 --param large-function-growth=3D1000 -fno-builtin -mcm=
odel=3Dmedany -msoft-float -ffreestanding -Werror  /src/sys/netipx/ipx_inpu=
t.c
/src/sys/netipx/ipx_input.c:122: error: initializer element is not constant
*** Error code 1

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86k4kd8lc5.fsf>