From: Scott Weaver <[email protected]>
[redhat] rh_flags: constify the ctl_table argument of proc_handler
With 78eb4ea25cd5f ('sysctl: treewide: constify the ctl_table argument
of proc_handlers') some RHEL only code will also need updated.
Signed-off-by: Scott Weaver <[email protected]>
diff --git a/kernel/rh_flags.c b/kernel/rh_flags.c
index blahblah..blahblah 100644
--- a/kernel/rh_flags.c
+++ b/kernel/rh_flags.c
@@ -68,7 +68,7 @@ void rh_print_flags(void)
EXPORT_SYMBOL(rh_print_flags);
#ifdef CONFIG_SYSCTL
-static int rh_flags_show(struct ctl_table *ctl, int write,
+static int rh_flags_show(const struct ctl_table *ctl, int write,
void __user *buffer, size_t *lenp,
loff_t *ppos)
{
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3293
--
_______________________________________________
kernel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue