Skip to contentSkip to conversation

jffs2-mark-__jffs2_dbg_superblock_counts-static.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: jffs2: mark __jffs2_dbg_superblock_counts() static
has been removed from the -mm tree. Its filename was
jffs2-mark-__jffs2_dbg_superblock_counts-static.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: jffs2: mark __jffs2_dbg_superblock_counts() static
Date: Thu, 23 Nov 2023 12:05:02 +0100

This function is only called locally and does not need to be global. Since there is no external prototype, gcc warns about the non-static definition:

fs/jffs2/debug.c:160:6: error: no previous prototype for '__jffs2_dbg_superblock_counts' [-Werror=missing-prototypes]

Cc "David S. Miller" <[email protected]>
Cc David Woodhouse <[email protected]>
Cc Dinh Nguyen <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc Ivan Kokshaysky <[email protected]>
Cc John Paul Adrian Glaubitz <[email protected]>
Cc Kees Cook <[email protected]>
Cc Masahiro Yamada <[email protected]>
Cc Matt Turner <[email protected]>
Cc Michael Ellerman <[email protected]>
Cc Nathan Chancellor <[email protected]>
Cc Nicolas Schier <[email protected]>
Cc Palmer Dabbelt <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Richard Henderson <[email protected]>
Cc Richard Weinberger <[email protected]>
Cc Rich Felker <[email protected]>
Cc Stephen Rothwell <[email protected]>
Cc Thomas Bogendoerfer <[email protected]>
Cc Yoshinori Sato <[email protected]>

---

 fs/jffs2/debug.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/jffs2/debug.c renamed from fs/jffs2/debug.c~jffs2-mark-__jffs2_dbg_superblock_counts-static +1 -1
@@ -157,7 +157,7 @@ __jffs2_dbg_prewrite_paranoia_check(stru
 	kfree(buf);
 }
 
-void __jffs2_dbg_superblock_counts(struct jffs2_sb_info *c)
+static void __jffs2_dbg_superblock_counts(struct jffs2_sb_info *c)
 {
 	struct jffs2_eraseblock *jeb;
 	uint32_t free = 0, dirty = 0, used = 0, wasted = 0,

_

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