All of lore.kernel.org
 help / color / mirror / Atom feed
* sound/soc/codecs/tlv320adcx140.c:776:34: warning: unused variable 'tlv320adcx140_of_match'
@ 2020-05-22 19:16 ` kbuild test robot
  0 siblings, 0 replies; 6+ messages in thread
From: kbuild test robot @ 2020-05-22 19:16 UTC (permalink / raw)
  To: Dan Murphy; +Cc: kbuild-all, clang-built-linux, linux-kernel, Mark Brown

[-- Attachment #1: Type: text/plain, Size: 1780 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   4286d192c803571e8ca43b0f1f8ea04d663a278a
commit: 689c7655b50c5de2b6f0f42fecfb37bde5acf040 ASoC: tlv320adcx140: Add the tlv320adcx140 codec driver family
date:   3 months ago
config: mips-randconfig-r014-20200522 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 3393cc4cebf9969db94dc424b7a2b6195589c33b)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install mips cross compiling tool for clang build
        # apt-get install binutils-mips-linux-gnu
        git checkout 689c7655b50c5de2b6f0f42fecfb37bde5acf040
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>

All warnings (new ones prefixed by >>, old ones prefixed by <<):

>> sound/soc/codecs/tlv320adcx140.c:776:34: warning: unused variable 'tlv320adcx140_of_match' [-Wunused-const-variable]
static const struct of_device_id tlv320adcx140_of_match[] = {
^
1 warning generated.

vim +/tlv320adcx140_of_match +776 sound/soc/codecs/tlv320adcx140.c

   775	
 > 776	static const struct of_device_id tlv320adcx140_of_match[] = {
   777		{ .compatible = "ti,tlv320adc3140" },
   778		{ .compatible = "ti,tlv320adc5140" },
   779		{ .compatible = "ti,tlv320adc6140" },
   780		{},
   781	};
   782	MODULE_DEVICE_TABLE(of, tlv320adcx140_of_match);
   783	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 32671 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* sound/soc/codecs/tlv320adcx140.c:776:34: warning: unused variable 'tlv320adcx140_of_match'
@ 2020-05-22 19:16 ` kbuild test robot
  0 siblings, 0 replies; 6+ messages in thread
From: kbuild test robot @ 2020-05-22 19:16 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 1822 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   4286d192c803571e8ca43b0f1f8ea04d663a278a
commit: 689c7655b50c5de2b6f0f42fecfb37bde5acf040 ASoC: tlv320adcx140: Add the tlv320adcx140 codec driver family
date:   3 months ago
config: mips-randconfig-r014-20200522 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 3393cc4cebf9969db94dc424b7a2b6195589c33b)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install mips cross compiling tool for clang build
        # apt-get install binutils-mips-linux-gnu
        git checkout 689c7655b50c5de2b6f0f42fecfb37bde5acf040
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>

All warnings (new ones prefixed by >>, old ones prefixed by <<):

>> sound/soc/codecs/tlv320adcx140.c:776:34: warning: unused variable 'tlv320adcx140_of_match' [-Wunused-const-variable]
static const struct of_device_id tlv320adcx140_of_match[] = {
^
1 warning generated.

vim +/tlv320adcx140_of_match +776 sound/soc/codecs/tlv320adcx140.c

   775	
 > 776	static const struct of_device_id tlv320adcx140_of_match[] = {
   777		{ .compatible = "ti,tlv320adc3140" },
   778		{ .compatible = "ti,tlv320adc5140" },
   779		{ .compatible = "ti,tlv320adc6140" },
   780		{},
   781	};
   782	MODULE_DEVICE_TABLE(of, tlv320adcx140_of_match);
   783	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 32671 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: sound/soc/codecs/tlv320adcx140.c:776:34: warning: unused variable 'tlv320adcx140_of_match'
  2020-05-22 19:16 ` kbuild test robot
@ 2020-05-26 14:41   ` Dan Murphy
  -1 siblings, 0 replies; 6+ messages in thread
From: Dan Murphy @ 2020-05-26 14:41 UTC (permalink / raw)
  To: kbuild test robot; +Cc: kbuild-all, clang-built-linux, linux-kernel, Mark Brown

Hello

On 5/22/20 2:16 PM, kbuild test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   4286d192c803571e8ca43b0f1f8ea04d663a278a
> commit: 689c7655b50c5de2b6f0f42fecfb37bde5acf040 ASoC: tlv320adcx140: Add the tlv320adcx140 codec driver family
> date:   3 months ago
> config: mips-randconfig-r014-20200522 (attached as .config)
> compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 3393cc4cebf9969db94dc424b7a2b6195589c33b)
> reproduce (this is a W=1 build):
>          wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>          chmod +x ~/bin/make.cross
>          # install mips cross compiling tool for clang build
>          # apt-get install binutils-mips-linux-gnu
>          git checkout 689c7655b50c5de2b6f0f42fecfb37bde5acf040
>          # save the attached .config to linux build tree
>          COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kbuild test robot <lkp@intel.com>
>
> All warnings (new ones prefixed by >>, old ones prefixed by <<):
>
>>> sound/soc/codecs/tlv320adcx140.c:776:34: warning: unused variable 'tlv320adcx140_of_match' [-Wunused-const-variable]
> static const struct of_device_id tlv320adcx140_of_match[] = {
> ^
> 1 warning generated.
>
> vim +/tlv320adcx140_of_match +776 sound/soc/codecs/tlv320adcx140.c
>
>     775	
>   > 776	static const struct of_device_id tlv320adcx140_of_match[] = {
>     777		{ .compatible = "ti,tlv320adc3140" },
>     778		{ .compatible = "ti,tlv320adc5140" },
>     779		{ .compatible = "ti,tlv320adc6140" },
>     780		{},
>     781	};
>     782	MODULE_DEVICE_TABLE(of, tlv320adcx140_of_match);
>     783	

I am not sure about this issue the same code appears in many drivers ie 
the TAS2562 and that did not create a warning within this build AFAIK

Dan


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: sound/soc/codecs/tlv320adcx140.c:776:34: warning: unused variable 'tlv320adcx140_of_match'
@ 2020-05-26 14:41   ` Dan Murphy
  0 siblings, 0 replies; 6+ messages in thread
From: Dan Murphy @ 2020-05-26 14:41 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 1992 bytes --]

Hello

On 5/22/20 2:16 PM, kbuild test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   4286d192c803571e8ca43b0f1f8ea04d663a278a
> commit: 689c7655b50c5de2b6f0f42fecfb37bde5acf040 ASoC: tlv320adcx140: Add the tlv320adcx140 codec driver family
> date:   3 months ago
> config: mips-randconfig-r014-20200522 (attached as .config)
> compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 3393cc4cebf9969db94dc424b7a2b6195589c33b)
> reproduce (this is a W=1 build):
>          wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>          chmod +x ~/bin/make.cross
>          # install mips cross compiling tool for clang build
>          # apt-get install binutils-mips-linux-gnu
>          git checkout 689c7655b50c5de2b6f0f42fecfb37bde5acf040
>          # save the attached .config to linux build tree
>          COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kbuild test robot <lkp@intel.com>
>
> All warnings (new ones prefixed by >>, old ones prefixed by <<):
>
>>> sound/soc/codecs/tlv320adcx140.c:776:34: warning: unused variable 'tlv320adcx140_of_match' [-Wunused-const-variable]
> static const struct of_device_id tlv320adcx140_of_match[] = {
> ^
> 1 warning generated.
>
> vim +/tlv320adcx140_of_match +776 sound/soc/codecs/tlv320adcx140.c
>
>     775	
>   > 776	static const struct of_device_id tlv320adcx140_of_match[] = {
>     777		{ .compatible = "ti,tlv320adc3140" },
>     778		{ .compatible = "ti,tlv320adc5140" },
>     779		{ .compatible = "ti,tlv320adc6140" },
>     780		{},
>     781	};
>     782	MODULE_DEVICE_TABLE(of, tlv320adcx140_of_match);
>     783	

I am not sure about this issue the same code appears in many drivers ie 
the TAS2562 and that did not create a warning within this build AFAIK

Dan

^ permalink raw reply	[flat|nested] 6+ messages in thread

* sound/soc/codecs/tlv320adcx140.c:776:34: warning: unused variable 'tlv320adcx140_of_match'
@ 2020-07-27  0:08 ` kernel test robot
  0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2020-07-27  0:08 UTC (permalink / raw)
  To: Dan Murphy; +Cc: kbuild-all, clang-built-linux, linux-kernel, Mark Brown

[-- Attachment #1: Type: text/plain, Size: 1853 bytes --]

Hi Dan,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   1c8594b8427290c178c5d39885eacd9e41f68743
commit: 689c7655b50c5de2b6f0f42fecfb37bde5acf040 ASoC: tlv320adcx140: Add the tlv320adcx140 codec driver family
date:   5 months ago
config: x86_64-randconfig-r005-20200726 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 8bf4c1f4fb257774f66c8cda07adc6c5e8668326)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        git checkout 689c7655b50c5de2b6f0f42fecfb37bde5acf040
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$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 <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> sound/soc/codecs/tlv320adcx140.c:776:34: warning: unused variable 'tlv320adcx140_of_match' [-Wunused-const-variable]
   static const struct of_device_id tlv320adcx140_of_match[] = {
                                    ^
   1 warning generated.

vim +/tlv320adcx140_of_match +776 sound/soc/codecs/tlv320adcx140.c

   775	
 > 776	static const struct of_device_id tlv320adcx140_of_match[] = {
   777		{ .compatible = "ti,tlv320adc3140" },
   778		{ .compatible = "ti,tlv320adc5140" },
   779		{ .compatible = "ti,tlv320adc6140" },
   780		{},
   781	};
   782	MODULE_DEVICE_TABLE(of, tlv320adcx140_of_match);
   783	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 36983 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* sound/soc/codecs/tlv320adcx140.c:776:34: warning: unused variable 'tlv320adcx140_of_match'
@ 2020-07-27  0:08 ` kernel test robot
  0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2020-07-27  0:08 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 1899 bytes --]

Hi Dan,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   1c8594b8427290c178c5d39885eacd9e41f68743
commit: 689c7655b50c5de2b6f0f42fecfb37bde5acf040 ASoC: tlv320adcx140: Add the tlv320adcx140 codec driver family
date:   5 months ago
config: x86_64-randconfig-r005-20200726 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 8bf4c1f4fb257774f66c8cda07adc6c5e8668326)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        git checkout 689c7655b50c5de2b6f0f42fecfb37bde5acf040
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$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 <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> sound/soc/codecs/tlv320adcx140.c:776:34: warning: unused variable 'tlv320adcx140_of_match' [-Wunused-const-variable]
   static const struct of_device_id tlv320adcx140_of_match[] = {
                                    ^
   1 warning generated.

vim +/tlv320adcx140_of_match +776 sound/soc/codecs/tlv320adcx140.c

   775	
 > 776	static const struct of_device_id tlv320adcx140_of_match[] = {
   777		{ .compatible = "ti,tlv320adc3140" },
   778		{ .compatible = "ti,tlv320adc5140" },
   779		{ .compatible = "ti,tlv320adc6140" },
   780		{},
   781	};
   782	MODULE_DEVICE_TABLE(of, tlv320adcx140_of_match);
   783	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 36983 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-07-27  0:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-22 19:16 sound/soc/codecs/tlv320adcx140.c:776:34: warning: unused variable 'tlv320adcx140_of_match' kbuild test robot
2020-05-22 19:16 ` kbuild test robot
2020-05-26 14:41 ` Dan Murphy
2020-05-26 14:41   ` Dan Murphy
2020-07-27  0:08 kernel test robot
2020-07-27  0:08 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.