git: 778b74378f42 - main - kinst: Make the provider ops table const
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 08 Dec 2022 20:16:07 UTC
The branch main has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=778b74378f42e08ea2a021c87292e2df1f1c7b1e
commit 778b74378f42e08ea2a021c87292e2df1f1c7b1e
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2022-12-08 20:03:41 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2022-12-08 20:03:41 +0000
kinst: Make the provider ops table const
No functional change intended.
---
sys/cddl/dev/kinst/kinst.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/cddl/dev/kinst/kinst.c b/sys/cddl/dev/kinst/kinst.c
index 0b8d4dd4e657..88d59e0cfec4 100644
--- a/sys/cddl/dev/kinst/kinst.c
+++ b/sys/cddl/dev/kinst/kinst.c
@@ -39,7 +39,7 @@ static dtrace_pattr_t kinst_attr = {
{ DTRACE_STABILITY_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_ISA },
};
-static dtrace_pops_t kinst_pops = {
+static const dtrace_pops_t kinst_pops = {
.dtps_provide = NULL,
.dtps_provide_module = kinst_provide_module,
.dtps_enable = kinst_enable,