[PATCH] mm: fix compilation warning in patchs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Zhiguo Jiang <justinjiang@xxxxxxxx>
---

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

 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





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux