From nobody Mon Oct 07 14:19:41 2024 X-Original-To: dev-commits-src-main@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 4XMh9n4401z5YCjV; Mon, 07 Oct 2024 14:19:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XMh9n1xrLz4cMJ; Mon, 7 Oct 2024 14:19:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728310781; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=XEDoVTE34+Pty2lIn678ByncgYqe/+n6Vt+gJ8IocXQ=; b=Hy6PAw7it18XU5P97Kyx7Ty9/e+KtG6mrB8De4JtySZDe6Ov3a5XbpuBDgm2kFMvZN19qO sSZNO/z1VD0yRFBGqRk2c7l7Ce+09tlxfUb58D8WFfxibDpxVS+mPlTbwhg6M1kGW600Tc jOsyWxgSviOu8qu7OtyyMUmVWZr7TwsjXZ5UkU6dWFRmLqQFKmvpqGO18zbZH75T+z0TY5 UIeQUg3OK6G9Sl98nK+IhmBxnGQr4JD/fOJbjBYQV1NGb64uaZtxcu0QnOEb2ve195MHld hHhZxg63fiVUFp9mgQSdeWjQW2RmFsyhhodZdWxbmCbJNj2LYNs4CD3thHZQHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728310781; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=XEDoVTE34+Pty2lIn678ByncgYqe/+n6Vt+gJ8IocXQ=; b=iHBJpHvjq/Xjux5oPxSSYzcH2Z+MiJigXj72N9UxOK+aHS8D/wubnbThjudjmSjzSHRUMD 5baa0wRYjMuLeRX5/CrCJew1xOWOKsnLUwIpgr5mQjvrmHOyqYTzphhoMH5TdclQAj2rwT jN+kBzYxghlHaPZGcUuM5XxZ0W29MG48RoPQKXXRIN7fzhtjF7rTeh3bEkm4wivQazz5R/ WKmpRNjo6OuGo36Blb+n74p5Wv+5QMPmz0aDCjchiCa9WshJ1QH2ewt4D9IamCso0bL8GZ 6mx9Sspfp5mLUp/BjLGejOEZ+exkuTozHurqSQrAMEU4uuopBrudPmAwhDYy9g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728310781; a=rsa-sha256; cv=none; b=g6OBT+Ijl4Wo4vqfUHmmgV+UH4eZ2eOgQjrYt8um92emRvLd4Q9LyrG3xq574qGgaw7Ccq z0RYWYa5G1K0Osle8iR1oY02tX2pAvXPSkSmQKrKinoD6IUNrZ2ndkEhPF5p1Vk0Lqr6xh HrqnJplJfCxPv38/1wqh8n/ItcfxEH7/socdJk/RPRHL1tm5/2h5mhkrYYp2gMRjd19FO6 KufAAK9bklaulpLLa2Pjgj3D+m1WRi0dRjzX130YS/MIMvpBzInXqWfjSvQBkGVPRzD9cm pt4gk51rotkaVyTtrHbQ+gyiAINYUHCGLQY5NdyT+bSDHPonKOAc8dJTzQsotw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XMh9n1YSDzpWw; Mon, 7 Oct 2024 14:19:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 497EJfGH010137; Mon, 7 Oct 2024 14:19:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 497EJfnv010134; Mon, 7 Oct 2024 14:19:41 GMT (envelope-from git) Date: Mon, 7 Oct 2024 14:19:41 GMT Message-Id: <202410071419.497EJfnv010134@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Zhenlei Huang Subject: git: 816100089283 - main - iflib: Make iflib_stop() static List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: zlei X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8161000892830ee52bc8048be91b40cdad25fea8 Auto-Submitted: auto-generated The branch main has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=8161000892830ee52bc8048be91b40cdad25fea8 commit 8161000892830ee52bc8048be91b40cdad25fea8 Author: Zhenlei Huang AuthorDate: 2024-10-07 14:19:02 +0000 Commit: Zhenlei Huang CommitDate: 2024-10-07 14:19:02 +0000 iflib: Make iflib_stop() static It is declared as static. Make the definition consistent with the declaration. This follows 7ff9ae90f0bd and partially reverts 09f6ff4f1a47. Reviewed by: erj MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D46185 --- sys/net/iflib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net/iflib.c b/sys/net/iflib.c index a2e2c3efa1ad..997da7ca5b00 100644 --- a/sys/net/iflib.c +++ b/sys/net/iflib.c @@ -2585,7 +2585,7 @@ iflib_media_status(if_t ifp, struct ifmediareq *ifmr) CTX_UNLOCK(ctx); } -void +static void iflib_stop(if_ctx_t ctx) { iflib_txq_t txq = ctx->ifc_txqs;