All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 521/10701] drivers/iio/proximity/sx9310.c:1040:34: warning: unused variable 'sx9310_of_match'
@ 2020-05-19 19:33 kbuild test robot
  2020-05-20  4:31 ` Daniel Campello
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2020-05-19 19:33 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   fb57b1fabcb28f358901b2df90abd2b48abc1ca8
commit: 72ad02b15d6367f9897db62313cc69fb0a20ee1f [521/10701] iio: Add SEMTECH SX9310/9311 sensor driver
config: x86_64-randconfig-r023-20200519 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 135b877874fae96b4372c8a3fbfaa8ff44ff86e3)
reproduce:
        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 72ad02b15d6367f9897db62313cc69fb0a20ee1f
        # 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: kbuild test robot <lkp@intel.com>

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

>> drivers/iio/proximity/sx9310.c:1040:34: warning: unused variable 'sx9310_of_match' [-Wunused-const-variable]
static const struct of_device_id sx9310_of_match[] = {
^
1 warning generated.

vim +/sx9310_of_match +1040 drivers/iio/proximity/sx9310.c

  1039	
> 1040	static const struct of_device_id sx9310_of_match[] = {
  1041		{ .compatible = "semtech,sx9310" },
  1042		{ .compatible = "semtech,sx9311" },
  1043		{},
  1044	};
  1045	MODULE_DEVICE_TABLE(of, sx9310_of_match);
  1046	

---
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: 38832 bytes --]

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

* Re: [linux-next:master 521/10701] drivers/iio/proximity/sx9310.c:1040:34: warning: unused variable 'sx9310_of_match'
  2020-05-19 19:33 [linux-next:master 521/10701] drivers/iio/proximity/sx9310.c:1040:34: warning: unused variable 'sx9310_of_match' kbuild test robot
@ 2020-05-20  4:31 ` Daniel Campello
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Campello @ 2020-05-20  4:31 UTC (permalink / raw)
  To: kbuild-all

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

On Tue, May 19, 2020 at 1:33 PM kbuild test robot <lkp@intel.com> wrote:
>
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   fb57b1fabcb28f358901b2df90abd2b48abc1ca8
> commit: 72ad02b15d6367f9897db62313cc69fb0a20ee1f [521/10701] iio: Add SEMTECH SX9310/9311 sensor driver
> config: x86_64-randconfig-r023-20200519 (attached as .config)
> compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 135b877874fae96b4372c8a3fbfaa8ff44ff86e3)
> reproduce:
>         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 72ad02b15d6367f9897db62313cc69fb0a20ee1f
>         # 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: kbuild test robot <lkp@intel.com>
>
> All warnings (new ones prefixed by >>, old ones prefixed by <<):
>
> >> drivers/iio/proximity/sx9310.c:1040:34: warning: unused variable 'sx9310_of_match' [-Wunused-const-variable]
> static const struct of_device_id sx9310_of_match[] = {
> ^
> 1 warning generated.
>
> vim +/sx9310_of_match +1040 drivers/iio/proximity/sx9310.c
>
>   1039
> > 1040  static const struct of_device_id sx9310_of_match[] = {
>   1041          { .compatible = "semtech,sx9310" },
>   1042          { .compatible = "semtech,sx9311" },
>   1043          {},
>   1044  };
>   1045  MODULE_DEVICE_TABLE(of, sx9310_of_match);
>   1046
>
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

Hi Jonathan,

It seems that the version merged was v8 instead of v10. This should be
fixed on the latest version.

Regards,
Daniel

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

end of thread, other threads:[~2020-05-20  4:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-19 19:33 [linux-next:master 521/10701] drivers/iio/proximity/sx9310.c:1040:34: warning: unused variable 'sx9310_of_match' kbuild test robot
2020-05-20  4:31 ` Daniel Campello

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.