From 83c87843cca7f3768d4647a2bf968d19ab44821a Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Tue, 21 Oct 2003 18:19:24 -0700 Subject: [PATCH] [PATCH] Fix unmap_vmas() compile warning Silence a bogus "may be used uninitialised" warning. It only affects architectures which use the tlb_finish_mmu() args. --- mm/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/memory.c b/mm/memory.c index ab34c145d4c3b..03ee8c3eb6302 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -525,7 +525,7 @@ int unmap_vmas(struct mmu_gather **tlbp, struct mm_struct *mm, unsigned long end_addr, unsigned long *nr_accounted) { unsigned long zap_bytes = ZAP_BLOCK_SIZE; - unsigned long tlb_start; /* For tlb_finish_mmu */ + unsigned long tlb_start = 0; /* For tlb_finish_mmu */ int tlb_start_valid = 0; int ret = 0; -- 2.53.0