Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Aug 2022 10:49:07 +0100
From:      "Alexander V. Chernikov" <melifaro@ipfw.ru>
To:        garyj@gmx.de
Cc:        "Alexander V. Chernikov" <melifaro@FreeBSD.org>, "src-committers@freebsd.org" <src-committers@FreeBSD.org>, "dev-commits-src-all@freebsd.org" <dev-commits-src-all@FreeBSD.org>, "dev-commits-src-main@freebsd.org" <dev-commits-src-main@FreeBSD.org>
Subject:   Re: git: 685866bbe13d - main - routing: fix build without ROUTE_MPATH
Message-ID:  <12F51F6C-46D4-4352-A4D6-7E4974699773@ipfw.ru>
In-Reply-To: <20220811112726.3fc6eaab@ernst.home>
References:  <202208102045.27AKjccu054932@gitrepo.freebsd.org> <20220811112726.3fc6eaab@ernst.home>

next in thread | previous in thread | raw e-mail | index | archive | help


> On 11 Aug 2022, at 10:27, Gary Jennejohn <garyj@gmx.de> wrote:
>=20
> I did a buildkernel and got this warning message:
>=20
> /usr/src/sys/net/route/route_ctl.c:787:1: warning: unused function =
'add_route_flags_mpath' [-Wunused-function]
> add_route_flags_mpath(struct rib_head *rnh, struct rtentry *rt,
Thank you for the report!
Should be fixed by 258828d03b9f.
> ^
> 1 warning generated.
>=20
> This is because the function is only called if ROUTE_MPATH is defined,
> but the forward declaration and implementation of =
add_route_flags_mpath
> are not gated with #ifdef ROUTE_MPATH.
>=20
> --
> Gary Jennejohn




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?12F51F6C-46D4-4352-A4D6-7E4974699773>