git: 60d6ed9cb8b3 - stable/13 - ice(4): Use the existing CTLFLAG_RWTUN flag definition

From: Zhenlei Huang <zlei_at_FreeBSD.org>
Date: Mon, 17 Apr 2023 06:19:03 UTC
The branch stable/13 has been updated by zlei:

URL: https://cgit.FreeBSD.org/src/commit/?id=60d6ed9cb8b3823030e625de3eb8b640ab92b983

commit 60d6ed9cb8b3823030e625de3eb8b640ab92b983
Author:     Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2023-04-12 04:20:38 +0000
Commit:     Zhenlei Huang <zlei@FreeBSD.org>
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);