Skip to contentSkip to conversation

mips-spram-fix-missing-prototype-warning-for-spram_config.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message Dec 11, 2023

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mips: spram: fix missing prototype warning for spram_config
has been removed from the -mm tree. Its filename was
mips-spram-fix-missing-prototype-warning-for-spram_config.patch

This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Arnd Bergmann <[email protected]>
Subject: mips: spram: fix missing prototype warning for spram_config
Date: Mon, 4 Dec 2023 12:57:04 +0100

arch/mips/kernel/spram.c:194:6: error: no previous prototype for 'spram_config' [-Werror=missing-prototypes]

---

 arch/mips/include/asm/spram.h |    2 +-
 arch/mips/kernel/spram.c      |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
arch/mips/include/asm/spram.h renamed from arch/mips/include/asm/spram.h~mips-spram-fix-missing-prototype-warning-for-spram_config +1 -1
@@ -3,7 +3,7 @@
 #define _MIPS_SPRAM_H
 
 #if defined(CONFIG_MIPS_SPRAM)
-extern __init void spram_config(void);
+extern void spram_config(void);
 #else
 static inline void spram_config(void) { }
 #endif /* CONFIG_MIPS_SPRAM */
arch/mips/kernel/spram.c renamed from arch/mips/kernel/spram.c~mips-spram-fix-missing-prototype-warning-for-spram_config +1 -0
@@ -12,6 +12,7 @@
 #include <asm/mipsregs.h>
 #include <asm/r4kcache.h>
 #include <asm/hazards.h>
+#include <asm/spram.h>
 
 /*
  * These definitions are correct for the 24K/34K/74K SPRAM sample

_

Patches currently in -mm which might be from [email protected] are

kexec-fix-kexec_file-dependencies.patch kexec-fix-kexec_file-dependencies-fix.patch kexec-select-crypto-from-kexec_file-instead-of-depending-on-it.patch makefileextrawarn-turn-on-missing-prototypes-globally.patch