sysctl: pass kernel pointers to ->proc_handler
[linux-block.git] / arch / arm64 / kernel / fpsimd.c
index 94289d12699330f9f058f61cc253b3d7046f0c71..35cb5e66c504f4651c3539658911d79dc9a041fa 100644 (file)
@@ -341,8 +341,7 @@ static unsigned int find_supported_vector_length(unsigned int vl)
 #ifdef CONFIG_SYSCTL
 
 static int sve_proc_do_default_vl(struct ctl_table *table, int write,
-                                 void __user *buffer, size_t *lenp,
-                                 loff_t *ppos)
+                                 void *buffer, size_t *lenp, loff_t *ppos)
 {
        int ret;
        int vl = sve_default_vl;