linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm: fix compilation warning in patchs
@ 2024-08-01  6:50 Zhiguo Jiang
  0 siblings, 0 replies; only message in thread
From: Zhiguo Jiang @ 2024-08-01  6:50 UTC (permalink / raw)
  To: Andrew Morton, linux-mm, linux-kernel, Will Deacon,
	Aneesh Kumar K.V, Nick Piggin, Peter Zijlstra, Arnd Bergmann,
	Johannes Weiner, Michal Hocko, Roman Gushchin, Shakeel Butt,
	Muchun Song, linux-arch, cgroups, kernel test robot, Barry Song,
	Zhiguo Jiang
  Cc: opensource.kernel

Fix compilation warning in bellow patch.
https://lore.kernel.org/linux-mm/202408010150.13yZScv6-lkp@intel.com/

Signed-off-by: Zhiguo Jiang <justinjiang@vivo.com>
---

| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202408010150.13yZScv6-lkp@intel.com/

 mm/mmu_gather.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/mmu_gather.c b/mm/mmu_gather.c
index 2bb413d052bd..405383f619f5 100644
--- a/mm/mmu_gather.c
+++ b/mm/mmu_gather.c
@@ -51,7 +51,7 @@
  */
 #define NR_MIN_EXITING_PROCESSES 2
 
-atomic_t nr_exiting_processes = ATOMIC_INIT(0);
+static atomic_t nr_exiting_processes = ATOMIC_INIT(0);
 static struct kmem_cache *swap_gather_cachep;
 static struct workqueue_struct *swapfree_wq;
 static DEFINE_STATIC_KEY_TRUE(tlb_swap_asyncfree_disabled);
-- 
2.39.0



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

only message in thread, other threads:[~2024-08-01  6:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-01  6:50 [PATCH] mm: fix compilation warning in patchs Zhiguo Jiang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox