From nobody Wed Apr 12 04:21:24 2023 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 4Px8fX5nLGz45CW6; Wed, 12 Apr 2023 04:21:24 +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 4Px8fX3Yvfz400p; Wed, 12 Apr 2023 04:21:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681273284; 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=MMAOq8ojnca1RmtS4iBps5tY3NyNt3atZv/SxNGM3qg=; b=x8cLe/RUJWhO+7NtOAZN9MUBb4GPZC8DFktfCWMze8YMo07AcWnnlI0DEiChIJub09Y1Gy t1RC8njqobSMTLnOC+VZdlAIfp+Owp56NUA7HinlP9E6lestZdahT0x18StiqygMwK1GZ6 2EsaynZj3thBfIA1uS6fb9E8nxEP0lJYmP74XDZvwwtnSb84Aou1CxOsw8bYxh0S1BH34G C6iDHDGue7gAiI0LhKM20ALvwqFUA67Rnuw0PgWaPC9gymsqlqRW0F/KOTxrqt49hBG4E7 qOLNi3p4g8xth7HMQl7N5Q7GRDppkhbHg3NuywK4fTRTziA3NGk55Mj/w/vF9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681273284; 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=MMAOq8ojnca1RmtS4iBps5tY3NyNt3atZv/SxNGM3qg=; b=vEJK+w1BW+quovO1ZBRkz3X6DX6n7VvRCkufsLogfiwYZd8iTFJf81nMl4ohdV0DLVM0QG 0SnTa8aPmDmctTrcnEO2oNs7RpPReS7aE3QIZd8zaPJkb/pymID0ENQuA8La+bFbyAYwRh NMgwEeBd24UqdPcIn7jtDlHf2sHx/SW/1gAO0Yx1UTSoieDwoS3df/WFC2fyhCC0p8cyuP e2EVfglLi7m/OahBNewAIoVc3jjEf0/tvtH00DfCCxwCKdfYWwZxC8QJ+XZt1lrxhZ4BG2 uRcmVp5MnTcc8tHXChfA1OL9hvgS04vSQmodJkT79z3Ao3tRdOUqgPNL+RdvWQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681273284; a=rsa-sha256; cv=none; b=a1/EL6JBQSgAXpPqII5VVKAON4ky52M5AZK6id1dAj4cCfSfcKhXpSB0zAbiLj7XgWOuQh +wIDqUgeLDfixz4fsqhWgA6vnm8MPIH7JLEkwNGvfnJQAREK/vuaSvCDlAs2sG9BdVbro8 BlnQOYLEeng2K0ci3TLcDTdHsXfp6SUkJApMMCXXqS/+ek534lnROhFLN+pnd3ZASArNSX zKJFYavkNB9XPRRZNziBg+t07Tem8vmgaEaA9+xYjLxQEyyobVuTgnimdEVeKD8imPpICJ GSZX9NUHTqHds8qsbckq+AlCT57Ixwxb534lM9yykelCVabMTWhL5m1QPUyRHA== 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 4Px8fX1lp9zlL4; Wed, 12 Apr 2023 04:21:24 +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 33C4LO7S091938; Wed, 12 Apr 2023 04:21:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33C4LOwN091937; Wed, 12 Apr 2023 04:21:24 GMT (envelope-from git) Date: Wed, 12 Apr 2023 04:21:24 GMT Message-Id: <202304120421.33C4LOwN091937@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: 5ff801810827 - main - ice(4): Use the existing CTLFLAG_RWTUN flag definition 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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: 5ff8018108278d06e024676c539e9f60f8189e83 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=5ff8018108278d06e024676c539e9f60f8189e83 commit 5ff8018108278d06e024676c539e9f60f8189e83 Author: Zhenlei Huang AuthorDate: 2023-04-12 04:20:38 +0000 Commit: Zhenlei Huang CommitDate: 2023-04-12 04:20:38 +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 --- 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 da69145e85de..91c00e02310a 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);