[PATCH 2/4] arm64: fpsimd: make stack ctl_table const
Josh Law
hlcj1234567 at gmail.com
Sat Feb 28 16:34:05 PST 2026
Signed-off-by: Josh Law <objecting at objecting.org>
---
arch/arm64/kernel/fpsimd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/kernel/fpsimd.c b/arch/arm64/kernel/fpsimd.c
index 9de1d8a604cb..86035d48ed27 100644
--- a/arch/arm64/kernel/fpsimd.c
+++ b/arch/arm64/kernel/fpsimd.c
@@ -549,7 +549,7 @@ static int vec_proc_do_default_vl(const struct ctl_table *table, int write,
enum vec_type type = info->type;
int ret;
int vl = get_default_vl(type);
- struct ctl_table tmp_table = {
+ const struct ctl_table tmp_table = {
.data = &vl,
.maxlen = sizeof(vl),
};
--
2.43.0
More information about the linux-arm-kernel
mailing list