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

2019-06-27 Thread Joe Perches
On Thu, 2019-06-27 at 15:52 -0400, Qian Cai wrote: > On Wed, 2019-06-05 at 16:53 -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

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

2019-06-27 Thread Qian Cai
Ping. On Wed, 2019-06-05 at 16:53 -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 compiled away, and generate warnings, > > arch/powerpc/kernel/setu