From nobody Sun Sep 29 03:56:50 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 4XGVkp6Lc0z5YGQF; Sun, 29 Sep 2024 03:56:50 +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 4XGVkp3mdbz4YRT; Sun, 29 Sep 2024 03:56:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727582210; 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=7jcsI6y1dLqd1wcA6c6wqAEaIbTGcatN7FIjyK7+n+I=; b=SAvpJJVQ9NvhX/aZKk5P4fGPHx16xmBRP7VRMIrO0FmvQmE9NKV8VvGIcix8hBZa2rcPl0 xzoy7UV+wQfB1aXYOxdWojcni7fNWWy0KjTkpY1/noY+LF2Q42H6xYVR4xR+IbegvKPE90 j5FUP2To2AcAwaK8SED7e7AN9DvY1wpTQ5lFB9d5et7qpBPdENFgPkGRrNt4ntZFeTs4h4 tJclk/yTGuyz1uelNpmuYcq8bA5mIDvZZpEjgZEWFsW5hTMh/ZB+BU3QtfMd19k3RJhp4W gfSuwoVHJxP6Ija7fDOoDw4pUMebBcepDgWaA4y8Cq4HqUKLvMFIO86YFflRTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727582210; 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=7jcsI6y1dLqd1wcA6c6wqAEaIbTGcatN7FIjyK7+n+I=; b=OV7hB7uYZBLCBuHRTBljr6Idl578dWdT5IQJk8oOFG3Zy67HHWulhxMztu4iJp4QwBLRxu gbVbl/DWpi4mm4Uo6lR1whSRsR66aFAmYbezcIq3v1w/PPXACeKVyZAzMOphdz5TkJj1Hz ylTseX+M8aS+nah8hr03ToBkRP5BZhaKZP3DZ+UUSRflo+VbIi5TQlnpzn6IUuT4NpgzBn 9Y1vdQDt4wb429l8danFTzRcUIHVeEQ2UNwO7oxFENBtubqFbCpzvc0bPgTnHRsSn/Hcer c1tanTWlpB6lYcA0a1WIJgoL0nqmuIDz/TTKhFzH38ZQsqmijAkHMOilr85dMw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727582210; a=rsa-sha256; cv=none; b=TB9etzbTig3aTKjY9M2nSYXhdjP+SNqo/aTtvSHvOHSNpo6UPqDfZCD5dLbK5hYMETcNSv CEhTPxQkyZWsVErriY3wOc09GzscTXwVZKsHEQWAzHxSlK6KcG++EeNXn4929uULdiU6kw dFN2NmVRRgvg3aI/rm2tftbqU8Xsrzzrw0OhQLk9Dv93+8LIFA/PEPAmJy9yMpBR+EtGu/ gDNMg8OiocR3U7N/OJMS3izYZPgj0n+4g9wieGnN0yDYVK7w0UNSYnY1yn2pxRS87cYcon Cxq6XwlEQqVHh1vQqDYEgBsb1MSd3LDn1x0e+iXpFQ++XM7jQ5I2kOlaH7PkmA== 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 4XGVkp30QQztJR; Sun, 29 Sep 2024 03:56:50 +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 48T3uot5062461; Sun, 29 Sep 2024 03:56:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48T3uo2Z062458; Sun, 29 Sep 2024 03:56:50 GMT (envelope-from git) Date: Sun, 29 Sep 2024 03:56:50 GMT Message-Id: <202409290356.48T3uo2Z062458@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: a112b062e068 - stable/14 - 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/14 X-Git-Reftype: branch X-Git-Commit: a112b062e0680c41c5978ae976dc77d0ed117b4d Auto-Submitted: auto-generated The branch stable/14 has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=a112b062e0680c41c5978ae976dc77d0ed117b4d commit a112b062e0680c41c5978ae976dc77d0ed117b4d Author: Kevin Bowling AuthorDate: 2024-09-22 04:17:30 +0000 Commit: Kevin Bowling CommitDate: 2024-09-29 03:56:34 +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 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",