From nobody Sun Sep 22 04:18:21 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 4XBCXs3JD0z5XDY7; Sun, 22 Sep 2024 04:18:21 +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 4XBCXs2bsFz4n4s; Sun, 22 Sep 2024 04:18:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726978701; 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=6e6+agIrmUru8vhjSV65jk884vnh8dQ1CeoLYy4NXXU=; b=gz2xdADzZ96bTfRNflCOlc4olfJd6F+dhh2wCU1KV7zqxwSK70PHxrmM93rqO5xHUfsthi guwVoz0B4vizuPRyQWpCiUPEs8/V0li7bZ2VK2hcMf7ZArrg2zYDm73H4RtIL02ROXEvmh WOV9q8n/Rou7uvDgbaiTVaEP27eevOdgD4RtS/ZcX6EcnAZZi8pet/KaWvTKGKYPRDScYd gqCmDTQQkGX4LNDh6ii2oD01eFPdBOY/ZwxEZwiaTbJ9OBNTwmn1XS/KbakHv9B7nIx4w2 EQ2d5HpjrdE66q72RyjTOOURqSI7u3TIP8TXaUXcPh0io+USZdrUJ01o/4eYqw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726978701; a=rsa-sha256; cv=none; b=xmCUMybnZu/55JIkDWI9aKCJ9b5xJhFNsE+Uw23JedlEsbnKjTIF45UzsydWerkPM6TOeM YcSP8Tm/GOOgUl1OUav02ATKHqqfYDDlWEQfJs95L3dfdqP6IiFc8oMyXCbuyOud1DOal6 BLhSSzvDUPpDCdhrX82hKXgZPAJFS5Di+7MH/vvyS6Nd77LX5PD2jqk6N9lKU/mECRSWon PyvqNBrn2wiCSaI59dxW5s3WghFWWqDo19vO46XAKi8SztYXQRaK2COHSjQF8PyifKPnc5 pHxAtsTbw+fmfLw3o4RABLFBaCpep4LK1AgIMHQ7m+jT2ZkPgUZh4NAF7rmrjw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726978701; 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=6e6+agIrmUru8vhjSV65jk884vnh8dQ1CeoLYy4NXXU=; b=YVgEvYVM+XaWy9I5iwl5E8w0oKIWerJz3swEsXv+bL05SUPiyQopEJbfOxcZXAVh56rkTu gFTsaWrm4MF6x6i8YvnB4w7MHxn3+JUa3wRWakbAqW5YsdNlDWHIMgCB9lqe56UHCBraJx ElX5YNP+4pHBZ2EHsVCQYavD4ie8/3Atqhl43bk8rpKvbpN+wQBa6NkYu8IxdFroRzMF9f VQ3CpHb7Qd0AXpritCorL9QlIiZckqwRWihEwXBteeDygj5Br1YRPvTuIxDnZK0oODsbCu m10fDFoug8jLWZTU7yJji651UwG7ye9CVQq2NRyAMtlQ/QctxivPQ52YM1aqGg== 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 4XBCXs24Xwz12HX; Sun, 22 Sep 2024 04:18:21 +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 48M4ILNP057403; Sun, 22 Sep 2024 04:18:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48M4ILjh057400; Sun, 22 Sep 2024 04:18:21 GMT (envelope-from git) Date: Sun, 22 Sep 2024 04:18:21 GMT Message-Id: <202409220418.48M4ILjh057400@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kevin Bowling Subject: git: 5f6964d9fbf6 - main - e1000: drop NEEDGIANT from em_sysctl_debug_info use 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: kbowling X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5f6964d9fbf663f85ee60dae7dfff153b82759d8 Auto-Submitted: auto-generated The branch main has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=5f6964d9fbf663f85ee60dae7dfff153b82759d8 commit 5f6964d9fbf663f85ee60dae7dfff153b82759d8 Author: Kevin Bowling AuthorDate: 2024-09-22 04:17:30 +0000 Commit: Kevin Bowling CommitDate: 2024-09-22 04:17:30 +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. MFC after: 1 week --- 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 8d140979fbcd..e2d8535143ef 100644 --- a/sys/dev/e1000/if_em.c +++ b/sys/dev/e1000/if_em.c @@ -840,7 +840,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",