From: Tony Luck Date: Mon, 25 Apr 2005 20:16:16 +0000 (-0700) Subject: [IA64] fix: warning: `ql_size' might be used uninitialized X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c411cb56586915350e4cdb6f228e9da2adba3285;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git [IA64] fix: warning: `ql_size' might be used uninitialized Oops. Should have caught this before I checked it in. Signed-off-by: Tony Luck --- diff --git a/include/asm-ia64/pgalloc.h b/include/asm-ia64/pgalloc.h index e86a8c331ee6..2b7127330ae1 100644 --- a/include/asm-ia64/pgalloc.h +++ b/include/asm-ia64/pgalloc.h @@ -29,7 +29,7 @@ DECLARE_PER_CPU(long, __pgtable_quicklist_size); static inline long pgtable_quicklist_total_size(void) { - long ql_size; + long ql_size = 0; int cpuid; for_each_online_cpu(cpuid) {