sound/soc/codecs/zl38060.c:614:34: warning: unused variable 'zl38_dt_ids'

2020-10-12 Thread kernel test robot
make.cross ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> sound/soc/codecs/zl38060.c:614:34: warning: unused variable 'zl38_dt_ids' >> [-Wunused-const-variable] static const s

sound/soc/codecs/zl38060.c:614:34: warning: unused variable 'zl38_dt_ids'

2020-09-19 Thread kernel test robot
=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> sound/soc/codecs/zl38060.c:614:34: warning: unused variable 'zl38_dt_ids' >> [-Wunu

Re: sound/soc/codecs/zl38060.c:614:34: warning: unused variable 'zl38_dt_ids'

2020-07-11 Thread Sven Van Asbroeck
Hi Nathan and Mark, On Fri, Jul 10, 2020 at 11:30 PM Nathan Chancellor wrote: > > Sure, you could hide it behind an ifdef for either CONFIG_OF or MODULE > (since you could build this as a module with CONFIG_OF disabled). > > I just figured this would be something frowned upon but if that is how

Re: sound/soc/codecs/zl38060.c:614:34: warning: unused variable 'zl38_dt_ids'

2020-07-10 Thread Nathan Chancellor
On Fri, Jul 10, 2020 at 01:24:59PM +0100, Mark Brown wrote: > On Thu, Jul 09, 2020 at 07:41:00PM -0700, Nathan Chancellor wrote: > > > When CONFIG_SND_SOC_ZL38060 is y, MODULE_DEVICE_TABLE expands to nothing > > so zl38_dt_ids will be unused. This is a pretty common construct in the > > kernel

Re: sound/soc/codecs/zl38060.c:614:34: warning: unused variable 'zl38_dt_ids'

2020-07-10 Thread Mark Brown
On Thu, Jul 09, 2020 at 07:41:00PM -0700, Nathan Chancellor wrote: > When CONFIG_SND_SOC_ZL38060 is y, MODULE_DEVICE_TABLE expands to nothing > so zl38_dt_ids will be unused. This is a pretty common construct in the > kernel and the only way I can think of to resolve this through the code > is by

Re: sound/soc/codecs/zl38060.c:614:34: warning: unused variable 'zl38_dt_ids'

2020-07-09 Thread Nathan Chancellor
g as appropriate > Reported-by: kernel test robot > > All warnings (new ones prefixed by >>): > > >> sound/soc/codecs/zl38060.c:614:34: warning: unused variable 'zl38_dt_ids' > >> [-Wunused-const-variable] >static const struct of_device_id zl38_dt_ids[] = { >

sound/soc/codecs/zl38060.c:614:34: warning: unused variable 'zl38_dt_ids'

2020-07-09 Thread kernel test robot
=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> sound/soc/codecs/zl38060.c:614:34: warning: unused variable 'zl38_dt_ids' >> [-Wunu

sound/soc/codecs/zl38060.c:614:34: warning: unused variable 'zl38_dt_ids'

2020-07-05 Thread kernel test robot
=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> sound/soc/codecs/zl38060.c:614:34: warning: unused variable 'zl38_dt_ids' >> [-Wunu

sound/soc/codecs/zl38060.c:614:34: warning: unused variable 'zl38_dt_ids'

2020-06-17 Thread kernel test robot
=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>, old ones prefixed by <<): >> sound/soc/codecs/zl38060.c:614:34: warning: unused variable 'zl38_dt_