From nobody Mon Apr 17 06:19:03 2023 X-Original-To: dev-commits-src-branches@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 4Q0H1z4r6bz45QFw; Mon, 17 Apr 2023 06:19:03 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q0H1z3lqbz3G69; Mon, 17 Apr 2023 06:19:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681712343; 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=eqDy04TxdQ/yO5+Zd1PKDrtcsmhCu/CrOuH9fpFgfx0=; b=Z0+wrkDde07Dm5VGcKvIkbO6Phg3JFqP4Y0fSe+R927uyGZ7Zf9xgXshx0/QGOzZcv1pBr 3a3dVMCkdsj4QjQiMLNP6yk+1zcTDhwjYAaSZhGIxT9z8b6Pqqo/zDQCE+xL9amFQjKgdl BxiNGruKkCaB5rPVUB8KIB/bv6ppC3lOzDiEBcTYT2qiFTCNcua5B0GQYkWITjPO9X/Rgl uuFVF2jzzRCuemjmX0GNo5OakntxNXjm5EDZCYJYwfuApGIRb53Gf2aYQe24sVd5ndHX76 3wBn2oeF22mtCjaWW9VCPc90H36v8PrPUlAlLB6ssuzB9OQSavDAYxSuCv7jxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681712343; 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=eqDy04TxdQ/yO5+Zd1PKDrtcsmhCu/CrOuH9fpFgfx0=; b=cJmjXbHK6iDs04EXyobkkHKrw2noqGO7lKiCZjV87wqu720e2536neryBorktIYIs8cUH/ 6kzTWPLFjDd4XhgBNysnRy6VroGCuzRuT/uDNu1gjm4UeGnqLdOKXIxmBNQpPFr+aJcHaQ jyimABL55tcdV6VOO7Tb1rw4f4g2KiPSfPL+Iaw74eKTCvwkgCFuae9X86+H43kdL5Lb3/ Rh2hOk2KXpDEgXBEr+hZmlKPZ1mJMLPLj2BwTNACSS695l0H0OP6bYNVKbq95ZqtR3CPcz LiKBqbfItp1Me6Z0QbwvFmMVcdhHOQ+XnfABMCOHiHd2G8lBXp4e9FYnZrIoQQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681712343; a=rsa-sha256; cv=none; b=jRUIhJD1WffrpCSO8kWU+BfMznmhoNRbyrtpXYjwxtjqYTMEGtp3a3XmEBeQ6M/d3GcZ/L B50klJRVa100ZlYvnsGe6tf1OpBsQvdnuCavvNMIS9V8rXlrm8Fo6Fr8sqFV8bsAW5qNXV /UTX9CAazLPNDfxpN4wgB8EDXpwwCVBxFF2b/uJjeejQCybB6ON3p8aOhkiyT/Uw1zTzFi RyFnK2NHCCiNQkrgW8913PnYIQr8JoNqI/NsLoXh75hqpTLdqpvvbMhiTw1wo5nLNf4a6c mhSf3YgvfENVa8A0vPP1Ny8AdVpnslVchfAbBJEgTZ/HacIk//51Nmm/pB2HIA== 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 4Q0H1z2npNzJft; Mon, 17 Apr 2023 06:19:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33H6J3aV030723; Mon, 17 Apr 2023 06:19:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33H6J36Z030722; Mon, 17 Apr 2023 06:19:03 GMT (envelope-from git) Date: Mon, 17 Apr 2023 06:19:03 GMT Message-Id: <202304170619.33H6J36Z030722@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Zhenlei Huang Subject: git: 60d6ed9cb8b3 - stable/13 - ice(4): Use the existing CTLFLAG_RWTUN flag definition List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@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/stable/13 X-Git-Reftype: branch X-Git-Commit: 60d6ed9cb8b3823030e625de3eb8b640ab92b983 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=60d6ed9cb8b3823030e625de3eb8b640ab92b983 commit 60d6ed9cb8b3823030e625de3eb8b640ab92b983 Author: Zhenlei Huang AuthorDate: 2023-04-12 04:20:38 +0000 Commit: Zhenlei Huang CommitDate: 2023-04-17 06:17:49 +0000 ice(4): Use the existing CTLFLAG_RWTUN flag definition Use it when possible, instead of separated flags. No functional change intended. Reviewed by: hselasky, erj MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D39466 (cherry picked from commit 5ff8018108278d06e024676c539e9f60f8189e83) --- sys/dev/ice/ice_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/ice/ice_lib.c b/sys/dev/ice/ice_lib.c index 0c047b574bf2..880f43e3598f 100644 --- a/sys/dev/ice/ice_lib.c +++ b/sys/dev/ice/ice_lib.c @@ -5852,7 +5852,7 @@ ice_add_debug_tunables(struct ice_softc *sc) debug_list = SYSCTL_CHILDREN(sc->debug_sysctls); SYSCTL_ADD_U64(ctx, debug_list, OID_AUTO, "debug_mask", - ICE_CTLFLAG_DEBUG | CTLFLAG_RW | CTLFLAG_TUN, + ICE_CTLFLAG_DEBUG | CTLFLAG_RWTUN, &sc->hw.debug_mask, 0, ICE_SYSCTL_DEBUG_MASK_HELP);