All of lore.kernel.org
 help / color / mirror / Atom feed
* [merged mm-nonmm-stable] mips-unhide-uasm_in_compat_space_p-declaration.patch removed from -mm tree
@ 2023-12-11  1:23 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2023-12-11  1:23 UTC (permalink / raw)
  To: mm-commits, tsbogend, sfr, arnd, akpm


The quilt patch titled
     Subject: mips: unhide uasm_in_compat_space_p() declaration
has been removed from the -mm tree.  Its filename was
     mips-unhide-uasm_in_compat_space_p-declaration.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 <arnd@arndb.de>
Subject: mips: unhide uasm_in_compat_space_p() declaration
Date: Mon, 4 Dec 2023 12:56:59 +0100

uasm_in_compat_space_p() has a conditional declaration but is defined
unconditionally because of another local user, which causes a warning:

arch/mips/mm/uasm.c:421:5: error: no previous prototype for 'uasm_in_compat_space_p' [-Werror=missing-prototypes]

Make the declaration unconditional to avoid this.

Link: https://lkml.kernel.org/r/20231204115710.2247097-10-arnd@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Stephen Rothwell <sfr@rothwell.id.au>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 arch/mips/include/asm/uasm.h |    2 --
 1 file changed, 2 deletions(-)

--- a/arch/mips/include/asm/uasm.h~mips-unhide-uasm_in_compat_space_p-declaration
+++ a/arch/mips/include/asm/uasm.h
@@ -193,9 +193,7 @@ struct uasm_label {
 
 void uasm_build_label(struct uasm_label **lab, u32 *addr,
 			int lid);
-#ifdef CONFIG_64BIT
 int uasm_in_compat_space_p(long addr);
-#endif
 int uasm_rel_hi(long val);
 int uasm_rel_lo(long val);
 void UASM_i_LA_mostly(u32 **buf, unsigned int rs, long addr);
_

Patches currently in -mm which might be from arnd@arndb.de 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-12-11  1:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-11  1:23 [merged mm-nonmm-stable] mips-unhide-uasm_in_compat_space_p-declaration.patch removed from -mm tree Andrew Morton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.