From nobody Thu Aug 11 09:49:07 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4M3MWL1SNRz4YrPQ; Thu, 11 Aug 2022 09:50:54 +0000 (UTC) (envelope-from melifaro@ipfw.ru) Received: from forward501o.mail.yandex.net (forward501o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::611]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4M3MWK6lxqz3kbG; Thu, 11 Aug 2022 09:50:53 +0000 (UTC) (envelope-from melifaro@ipfw.ru) Received: from vla5-047c0c0d12a6.qloud-c.yandex.net (vla5-047c0c0d12a6.qloud-c.yandex.net [IPv6:2a02:6b8:c18:3484:0:640:47c:c0d]) by forward501o.mail.yandex.net (Yandex) with ESMTP id 8ACBA45C4B96; Thu, 11 Aug 2022 12:49:10 +0300 (MSK) Received: by vla5-047c0c0d12a6.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id luCFUvMECP-n9meGUYx; Thu, 11 Aug 2022 12:49:10 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfw.ru; s=mail; t=1660211350; bh=AM1vR8VSDqBjFubYx/C0U7q+e+dnXnUW2nesvdqshCE=; h=Message-Id:To:Date:References:Cc:In-Reply-To:From:Subject; b=ZCKnJejIVUl1upQRm6rNflte92F277YCCif5TG3oTZSZF5MwyB++CWl3JR24HdKNB pOLUpjAc6BGubhYa8MsGzCM/qTYV7dmw+C8cObiRhl2K6nU59t8BNpozAAmIrLAS7U 2Xx6GOwn3Mb+V57vM3FrAQM7HLHKbDAap40d3kP8= Content-Type: text/plain; charset=us-ascii List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\)) Subject: Re: git: 685866bbe13d - main - routing: fix build without ROUTE_MPATH From: "Alexander V. Chernikov" In-Reply-To: <20220811112726.3fc6eaab@ernst.home> Date: Thu, 11 Aug 2022 10:49:07 +0100 Cc: "Alexander V. Chernikov" , "src-committers@freebsd.org" , "dev-commits-src-all@freebsd.org" , "dev-commits-src-main@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <12F51F6C-46D4-4352-A4D6-7E4974699773@ipfw.ru> References: <202208102045.27AKjccu054932@gitrepo.freebsd.org> <20220811112726.3fc6eaab@ernst.home> To: garyj@gmx.de X-Mailer: Apple Mail (2.3696.100.31) X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Rspamd-Queue-Id: 4M3MWK6lxqz3kbG X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N > On 11 Aug 2022, at 10:27, Gary Jennejohn 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