]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - arch/arm/mm/mmu.c
ARM: 9182/1: mmu: fix returns from early_param() and __setup() functions
[mirror_ubuntu-jammy-kernel.git] / arch / arm / mm / mmu.c
index 274e4f73fd33c21c3179d2a5a9090688e6e2c6bf..5e2be37a198e29eefa1b0a3ce6b64296c4d0e2f6 100644 (file)
@@ -212,12 +212,14 @@ early_param("ecc", early_ecc);
 static int __init early_cachepolicy(char *p)
 {
        pr_warn("cachepolicy kernel parameter not supported without cp15\n");
+       return 0;
 }
 early_param("cachepolicy", early_cachepolicy);
 
 static int __init noalign_setup(char *__unused)
 {
        pr_warn("noalign kernel parameter not supported without cp15\n");
+       return 1;
 }
 __setup("noalign", noalign_setup);