|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen staging] xen/kernel: Move parse_params() back into __init
commit d5a2873112d347f80968a7c0048ae7d8bd600a57
Author: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
AuthorDate: Tue Jun 3 13:39:10 2025 +0100
Commit: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
CommitDate: Fri Jun 13 15:47:18 2025 +0100
xen/kernel: Move parse_params() back into __init
It's non-init caller was dropped in Xen 4.14.
No functional change.
Fixes: 02e9a9cf2095 ("xen: remove XEN_SYSCTL_set_parameter support")
Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
Acked-by: Julien Grall <jgrall@xxxxxxxxxx>
---
xen/common/kernel.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/xen/common/kernel.c b/xen/common/kernel.c
index 8b63ca55f1..5be668ba85 100644
--- a/xen/common/kernel.c
+++ b/xen/common/kernel.c
@@ -67,8 +67,9 @@ static int assign_integer_param(const struct kernel_param
*param, uint64_t val)
return 0;
}
-static int parse_params(const char *cmdline, const struct kernel_param *start,
- const struct kernel_param *end)
+static int __init parse_params(
+ const char *cmdline, const struct kernel_param *start,
+ const struct kernel_param *end)
{
char opt[MAX_PARAM_SIZE], *optval, *optkey, *q;
const char *p = cmdline, *key;
--
generated by git-patchbot for /home/xen/git/xen.git#staging
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |