All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Chris Ruehl <chris.ruehl@gtsys.com.hk>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
	Jack Lo <jack.lo@gtsys.com.hk>,
	devicetree@vger.kernel.org, Jean Delvare <jdelvare@suse.com>,
	Guenter Roeck <linux@roeck-us.net>,
	linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] hwmon: shtc1: add support for device tree bindings
Date: Fri, 3 Jul 2020 19:12:45 +0800	[thread overview]
Message-ID: <202007031920.69xKNPHf%lkp@intel.com> (raw)
In-Reply-To: <20200703034856.12846-2-chris.ruehl@gtsys.com.hk>

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

Hi Chris,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on hwmon/hwmon-next]
[also build test WARNING on v5.8-rc3 next-20200703]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use  as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Chris-Ruehl/hwmon-shtc1-add-support-for-device-tree-bindings/20200703-124921
base:   https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next
config: arm-randconfig-r012-20200701 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project ca464639a1c9dd3944eb055ffd2796e8c2e7639f)
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 arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm 

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 >>):

>> drivers/hwmon/shtc1.c:282:34: warning: unused variable 'shtc1_of_match' [-Wunused-const-variable]
   static const struct of_device_id shtc1_of_match[] = {
                                    ^
   1 warning generated.

vim +/shtc1_of_match +282 drivers/hwmon/shtc1.c

   280	
   281	#ifdef CONFIG_OF
 > 282	static const struct of_device_id shtc1_of_match[] = {
   283		{ .compatible = "sensirion,shtc1" },
   284		{ .compatible = "sensirion,shtw1" },
   285		{ .compatible = "sensirion,shtc3" },
   286		{ }
   287	};
   288	MODULE_DEVICE_TABLE(of, shtc1_of_match);
   289	#endif
   290	static struct i2c_driver shtc1_i2c_driver = {
   291		.driver.name  = "shtc1",
   292		.probe        = shtc1_probe,
   293		.id_table     = shtc1_id,
   294	};
   295	

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

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH 1/2] hwmon: shtc1: add support for device tree bindings
Date: Fri, 03 Jul 2020 19:12:45 +0800	[thread overview]
Message-ID: <202007031920.69xKNPHf%lkp@intel.com> (raw)
In-Reply-To: <20200703034856.12846-2-chris.ruehl@gtsys.com.hk>

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

Hi Chris,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on hwmon/hwmon-next]
[also build test WARNING on v5.8-rc3 next-20200703]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use  as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Chris-Ruehl/hwmon-shtc1-add-support-for-device-tree-bindings/20200703-124921
base:   https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next
config: arm-randconfig-r012-20200701 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project ca464639a1c9dd3944eb055ffd2796e8c2e7639f)
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 arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm 

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 >>):

>> drivers/hwmon/shtc1.c:282:34: warning: unused variable 'shtc1_of_match' [-Wunused-const-variable]
   static const struct of_device_id shtc1_of_match[] = {
                                    ^
   1 warning generated.

vim +/shtc1_of_match +282 drivers/hwmon/shtc1.c

   280	
   281	#ifdef CONFIG_OF
 > 282	static const struct of_device_id shtc1_of_match[] = {
   283		{ .compatible = "sensirion,shtc1" },
   284		{ .compatible = "sensirion,shtw1" },
   285		{ .compatible = "sensirion,shtc3" },
   286		{ }
   287	};
   288	MODULE_DEVICE_TABLE(of, shtc1_of_match);
   289	#endif
   290	static struct i2c_driver shtc1_i2c_driver = {
   291		.driver.name  = "shtc1",
   292		.probe        = shtc1_probe,
   293		.id_table     = shtc1_id,
   294	};
   295	

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

  parent reply	other threads:[~2020-07-03 11:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-03  3:48 [PATCH] shtc1: add support for device tree bindings Chris Ruehl
2020-07-03  3:48 ` [PATCH 1/2] hwmon: " Chris Ruehl
2020-07-03  5:48   ` Guenter Roeck
2020-07-05  0:34     ` Chris Ruehl
2020-07-03 11:12   ` kernel test robot [this message]
2020-07-03 11:12     ` kernel test robot
2020-07-03  3:48 ` [PATCH 2/2] devicetree: hwmon: shtc1: Add sensirion,shtc1.yaml Chris Ruehl
2020-07-03  5:49   ` Guenter Roeck
2020-07-05  0:30     ` Chris Ruehl
2020-07-05  2:35       ` Guenter Roeck
2020-07-03  5:35 ` [PATCH] shtc1: add support for device tree bindings Guenter Roeck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202007031920.69xKNPHf%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=chris.ruehl@gtsys.com.hk \
    --cc=clang-built-linux@googlegroups.com \
    --cc=devicetree@vger.kernel.org \
    --cc=jack.lo@gtsys.com.hk \
    --cc=jdelvare@suse.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.