From nobody Mon Apr 17 06:24:45 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 4Q0H8Y42Gzz45R37; Mon, 17 Apr 2023 06:24:45 +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 4Q0H8Y2Nqqz3hQp; Mon, 17 Apr 2023 06:24:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681712685; 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=mpggkTm8RWr+9iHcQbOPiuECaA92aP8rMv8y/CWHkLw=; b=Favk1P60cEl51J6DxXZcZ31Vfl1nQOqNYVhfFCply5RzI5mrwXu5vTRpFDH7/K2z3FXYXg zTc1ITXOIR0T38XQHHNrWJfIQ7sgvzgVYu4vzcWxCpLiO+GaN1clRUtgf2fk+pgErwhGPs 4T0ZtNNc1zF43CvKjLf9ieL8bB03aq7wYro/qy+96LMnpqaHQl5oKdAYX26akWZXCsTU96 rvJ6Tc4O6CEA69lQuYTi/up+N7iOmrzbstr+eDdd02/Zl9vDlp1Tweriky56uq0zLwityi NUkfZ/SB7Cyx/yphbedgxDQJh73OSdcuWu1JMsYRDoK3/u6MX3IQ6P8bjNeu0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681712685; 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=mpggkTm8RWr+9iHcQbOPiuECaA92aP8rMv8y/CWHkLw=; b=Hi7uwOWKglQhxtfw6YQ80w0lAWeqOut26GoqYq1rxyIkgDa/MG8XDHu9HNx66/EuN6F2VO KyQ1rd/e6jTkj66ruvicsi4xv4ZH9mh1CkYjKKE4EERiB73NAvKea99lo92K5X0RVXnJvt T2Ta51UNdQFXyYgN+KxD9/Wr34GGKyUWndilUH8X4u8pzOnze4a/JI5xfALGBduEaaDLL2 6Mnoyzo/8Yf2n+1ys9fOkN6xcgFs/iujjPsHNk6xcwYioUI3hSK5s+0NUqTMqYSX8VvYJB H4tHk7ft/knFMnQssuZB65JPLACi9dVIWcBMO7045RenUC8bNnijm9GcQwvRog== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681712685; a=rsa-sha256; cv=none; b=WtPsZtiS1nRcujxgXAkm4zgdpZHQ5ISgSk/yD6szBO33U9Y7aqLmrg1seZ21e7UKw5D2QQ 2i1jbMn1zxWajftpMOj184OEWFj152oherQgR8CkWJgo5Fhg/82K/7APXHEeJdFZv8mmWy UlaYHUWE2uWAoviw9UaCou3DDSFQnyiy2VgZtExbZXLk65cI4g/imiMTW7iOXkJC16zJQU vHQePF2HB+Q28510BxgXml1XDCgxlxrzuRrvLHX59+25vjCQaK8kMyxdbo4iZok2MndX6j y3GYiD7BqVmi2XtN+UsJj0mPm+XRc1g4Bh1rYF/73V+e28XCNGEf/c+D3zZXWw== 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 4Q0H8Y0wfKzJCq; Mon, 17 Apr 2023 06:24:45 +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 33H6OjK5046123; Mon, 17 Apr 2023 06:24:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33H6Ojo1046122; Mon, 17 Apr 2023 06:24:45 GMT (envelope-from git) Date: Mon, 17 Apr 2023 06:24:45 GMT Message-Id: <202304170624.33H6Ojo1046122@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: 5813a7c0e7c2 - stable/12 - 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/12 X-Git-Reftype: branch X-Git-Commit: 5813a7c0e7c2adf31fa10b1295a3f423b991134d Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=5813a7c0e7c2adf31fa10b1295a3f423b991134d commit 5813a7c0e7c2adf31fa10b1295a3f423b991134d Author: Zhenlei Huang AuthorDate: 2023-04-12 04:20:38 +0000 Commit: Zhenlei Huang CommitDate: 2023-04-17 06:22:55 +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) (cherry picked from commit 60d6ed9cb8b3823030e625de3eb8b640ab92b983) --- 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 f562b3b55b63..29759600b93b 100644 --- a/sys/dev/ice/ice_lib.c +++ b/sys/dev/ice/ice_lib.c @@ -5611,7 +5611,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, "Debug message enable/disable mask");