Re: [PATCH v4] powerpc/setup_64: fix -Wempty-body warnings

2019-10-30 Thread Michael Ellerman
On Mon, 2019-07-15 at 18:32:32 UTC, Qian Cai wrote: > At the beginning of setup_64.c, it has, > > #ifdef DEBUG > #define DBG(fmt...) udbg_printf(fmt) > #else > #define DBG(fmt...) > #endif > > where DBG() could be compiled away, and generate warnings, > > arch/powerpc/kernel/setup_64.c

Re: [PATCH v4] powerpc/setup_64: fix -Wempty-body warnings

2019-09-18 Thread Qian Cai
Michael, ping in case that you might forget this one forever as well. On Mon, 2019-07-15 at 14:32 -0400, Qian Cai wrote: > At the beginning of setup_64.c, it has, > > #ifdef DEBUG > #define DBG(fmt...) udbg_printf(fmt) > #else > #define DBG(fmt...) > #endif > > where DBG() could be com

[PATCH v4] powerpc/setup_64: fix -Wempty-body warnings

2019-07-15 Thread Qian Cai
At the beginning of setup_64.c, it has, #ifdef DEBUG #define DBG(fmt...) udbg_printf(fmt) #else #define DBG(fmt...) #endif where DBG() could be compiled away, and generate warnings, arch/powerpc/kernel/setup_64.c: In function 'initialize_cache_info': arch/powerpc/kernel/setup_64.c:579: