From nobody Sun Sep 29 03:58:15 2024 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 4XGVmR4Zlcz5YGsd; Sun, 29 Sep 2024 03:58:15 +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 4XGVmR1YDLz4b03; Sun, 29 Sep 2024 03:58:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727582295; 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=7aCfugGqkDJcPgAtN7A/A2+7guE/dZnK6Oj5DywnrXQ=; b=HMcODV9UWzd+cEJdy58MK0tWikIMWEpa6+iv1y9jWKB3BDYfPMXTnk/AhCH+4U4r5unKRj j7bkTnSYSHLCMKTsnzk4DGH2b0nTVbUMt3PahP+uGQFUm/ditt0hpy8SdSTy67PhntHH9/ d7JFL6srilZp3en3ajbYfKakUiJuYMP9KUgBW1A6/IZORk+1viSBqIhmcbrZYgm9gEJCtR ruWoJDqbx6bUdIYo1lRE5fj+XiKM9nQiM5YGa/KREAq6e+dFIDGdPd9NSseDzAHVUTmnSw WoEewQfm3eEvvZzdetL7SRifQ3ITAu2fSFrj2jaa3jyzEiT2jWCZEkzaGTkOjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727582295; 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=7aCfugGqkDJcPgAtN7A/A2+7guE/dZnK6Oj5DywnrXQ=; b=A0E1l8dtg3jC3TjWEiABu3gei5tSCZlZD8l9YJGq25bcRszqycXxyt8CCI70LkArAYN6fV pnkwDSOdHhDef26PeN8pbtsTWRSZY4p3E/1V/xvBCE/tUOz+Snh3orRVsLdTVa37CuJIQK xSLrYXssW/S+GKGtjjZP9e7bVZ3VwV4OFYIjEd5g4JvCkX67UNg6HGuW+xIWF91Re/KsV2 cJA+8RtYAM3nY7Oh8cya/2zLH+1NUlzsQcVXZ1z0+5Vmlre8F9az6UVNWiP4DpBMYrwK9j ttc3A305WiL8KhGYEcMfENy5JCRelbQbIOayLAEy1sqAwFhLyEHn22evrqbxXw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727582295; a=rsa-sha256; cv=none; b=sk6CmN1K9TRv2lv2Y5Sd+SrTwsQPaicl1vB93s6pPvo1CsMXjxOiU3i7vdNLLKU/D7r5N4 8EQ/H2L+LvE9h8r8y5rde8FgsAg67crJNCG2XOzkokGE7ZX6vndXkCVDOa84Dgt492o65b gUzmHo0/3+XTUyNdoCkSGQzWzIjO3eC9wmtXQp45UsQ7uHl3gIY71AFvHwNdM2CuwuvQXp 6MZmEUzOzVcUlgr2/ift0cbnyCU7+fxtbAWTix22AODmifT/qy0mXv0Yqi0pCDCECBtCK0 W/J6GeOHTumjudrrJPoyPMSH639rzw382DVRiS/Tu1QtVUzar6h5lRoHokNqkQ== 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 4XGVmR13KNzsw3; Sun, 29 Sep 2024 03:58:15 +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 48T3wF8i062937; Sun, 29 Sep 2024 03:58:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48T3wFRe062934; Sun, 29 Sep 2024 03:58:15 GMT (envelope-from git) Date: Sun, 29 Sep 2024 03:58:15 GMT Message-Id: <202409290358.48T3wFRe062934@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Kevin Bowling Subject: git: 70d1a43c724e - stable/13 - e1000: drop NEEDGIANT from em_sysctl_debug_info use 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kbowling X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 70d1a43c724e00e6ce8d2454515cc68853460225 Auto-Submitted: auto-generated The branch stable/13 has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=70d1a43c724e00e6ce8d2454515cc68853460225 commit 70d1a43c724e00e6ce8d2454515cc68853460225 Author: Kevin Bowling AuthorDate: 2024-09-22 04:17:30 +0000 Commit: Kevin Bowling CommitDate: 2024-09-29 03:57:54 +0000 e1000: drop NEEDGIANT from em_sysctl_debug_info use The write is only used to toggle the debug print function and this is otherwise stateless. (cherry picked from commit 5f6964d9fbf663f85ee60dae7dfff153b82759d8) --- sys/dev/e1000/if_em.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/e1000/if_em.c b/sys/dev/e1000/if_em.c index 156a5640a06e..bf612d465ef0 100644 --- a/sys/dev/e1000/if_em.c +++ b/sys/dev/e1000/if_em.c @@ -842,7 +842,7 @@ em_if_attach_pre(if_ctx_t ctx) "Prints FW/NVM Versions"); SYSCTL_ADD_PROC(ctx_list, child, OID_AUTO, "debug", - CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_NEEDGIANT, sc, 0, + CTLTYPE_INT | CTLFLAG_RW, sc, 0, em_sysctl_debug_info, "I", "Debug Information"); SYSCTL_ADD_PROC(ctx_list, child, OID_AUTO, "fc",