[OS-BUILD PATCH] [redhat] rh_flags: constify the ctl_table argument of proc_handler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Scott Weaver <scweaver@xxxxxxxxxx>

[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 <scweaver@xxxxxxxxxx>

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 -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/kernel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux