git: 5ff801810827 - main - ice(4): Use the existing CTLFLAG_RWTUN flag definition
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 12 Apr 2023 04:21:24 UTC
The branch main has been updated by zlei:
URL: https://cgit.FreeBSD.org/src/commit/?id=5ff8018108278d06e024676c539e9f60f8189e83
commit 5ff8018108278d06e024676c539e9f60f8189e83
Author: Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2023-04-12 04:20:38 +0000
Commit: Zhenlei Huang <zlei@FreeBSD.org>
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);