Re: [PATCH] riscv: asm/gdb_xml.h: use __maybe_used to make W=1 warnings go away

2020-07-02 Thread Pierre-Louis Bossart
On 7/1/20 9:04 PM, Vincent Chen wrote: On Thu, Jul 2, 2020 at 2:48 AM Pierre-Louis Bossart wrote: 0day/kbuild reports warnings with the ASoC codecs compiled with W=1. In file included from arch/riscv/include/asm/kgdb.h:109, from include/linux/kgdb.h:20,

Re: [PATCH] riscv: asm/gdb_xml.h: use __maybe_used to make W=1 warnings go away

2020-07-01 Thread Vincent Chen
On Thu, Jul 2, 2020 at 2:48 AM Pierre-Louis Bossart wrote: > > 0day/kbuild reports warnings with the ASoC codecs compiled with W=1. > > In file included from arch/riscv/include/asm/kgdb.h:109, > from include/linux/kgdb.h:20, > from include/linux/fb.h:5, >

[PATCH] riscv: asm/gdb_xml.h: use __maybe_used to make W=1 warnings go away

2020-07-01 Thread Pierre-Louis Bossart
0day/kbuild reports warnings with the ASoC codecs compiled with W=1. In file included from arch/riscv/include/asm/kgdb.h:109, from include/linux/kgdb.h:20, from include/linux/fb.h:5, from include/drm/drm_crtc.h:31, from sound/soc/