From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH] drivers: gpio: use of_match_ptr() and ACPI_PTR() macros
Date: Wed, 18 Nov 2020 02:27:33 +0800 [thread overview]
Message-ID: <202011180219.5f6oy6D4-lkp@intel.com> (raw)
In-Reply-To: <20201117154340.18216-1-info@metux.net>
[-- Attachment #1: Type: text/plain, Size: 3608 bytes --]
Hi "Enrico,
I love your patch! Perhaps something to improve:
[auto build test WARNING on gpio/for-next]
[also build test WARNING on joel-aspeed/for-next v5.10-rc4 next-20201117]
[cannot apply to xlnx/master]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Enrico-Weigelt-metux-IT-consult/drivers-gpio-use-of_match_ptr-and-ACPI_PTR-macros/20201117-234621
base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git for-next
config: x86_64-randconfig-a004-20201117 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project ace9653c11c6308401dcda2e8b26bf97e6e66e30)
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
# https://github.com/0day-ci/linux/commit/36e4dc1edd4f6c7679f654c393616dafd4ffa73c
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Enrico-Weigelt-metux-IT-consult/drivers-gpio-use-of_match_ptr-and-ACPI_PTR-macros/20201117-234621
git checkout 36e4dc1edd4f6c7679f654c393616dafd4ffa73c
# 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 >>):
>> drivers/gpio/gpio-lp3943.c:208:34: warning: unused variable 'lp3943_gpio_of_match' [-Wunused-const-variable]
static const struct of_device_id lp3943_gpio_of_match[] = {
^
1 warning generated.
--
>> drivers/gpio/gpio-pca953x.c:1236:34: warning: unused variable 'pca953x_dt_ids' [-Wunused-const-variable]
static const struct of_device_id pca953x_dt_ids[] = {
^
1 warning generated.
--
>> drivers/gpio/gpio-tpic2810.c:103:34: warning: unused variable 'tpic2810_of_match_table' [-Wunused-const-variable]
static const struct of_device_id tpic2810_of_match_table[] = {
^
1 warning generated.
--
>> drivers/gpio/gpio-twl4030.c:619:34: warning: unused variable 'twl_gpio_match' [-Wunused-const-variable]
static const struct of_device_id twl_gpio_match[] = {
^
1 warning generated.
--
>> drivers/gpio/gpio-xilinx.c:348:34: warning: unused variable 'xgpio_of_match' [-Wunused-const-variable]
static const struct of_device_id xgpio_of_match[] = {
^
1 warning generated.
vim +/lp3943_gpio_of_match +208 drivers/gpio/gpio-lp3943.c
0cc59b9d98d5541 Milo Kim 2013-12-06 207
0cc59b9d98d5541 Milo Kim 2013-12-06 @208 static const struct of_device_id lp3943_gpio_of_match[] = {
0cc59b9d98d5541 Milo Kim 2013-12-06 209 { .compatible = "ti,lp3943-gpio", },
0cc59b9d98d5541 Milo Kim 2013-12-06 210 { }
0cc59b9d98d5541 Milo Kim 2013-12-06 211 };
0cc59b9d98d5541 Milo Kim 2013-12-06 212 MODULE_DEVICE_TABLE(of, lp3943_gpio_of_match);
0cc59b9d98d5541 Milo Kim 2013-12-06 213
---
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: 32310 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: "Enrico Weigelt, metux IT consult" <info@metux.net>,
linux-kernel@vger.kernel.org
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
linus.walleij@linaro.org, bgolaszewski@baylibre.com,
andrew@aj.id.au, albeu@free.fr, f.fainelli@gmail.com,
sbranden@broadcom.com, bcm-kernel-feedback-list@broadcom.com,
Eugeniy.Paltsev@synopsys.com, hoan@os.amperecomputing.com
Subject: Re: [PATCH] drivers: gpio: use of_match_ptr() and ACPI_PTR() macros
Date: Wed, 18 Nov 2020 02:27:33 +0800 [thread overview]
Message-ID: <202011180219.5f6oy6D4-lkp@intel.com> (raw)
In-Reply-To: <20201117154340.18216-1-info@metux.net>
[-- Attachment #1: Type: text/plain, Size: 3536 bytes --]
Hi "Enrico,
I love your patch! Perhaps something to improve:
[auto build test WARNING on gpio/for-next]
[also build test WARNING on joel-aspeed/for-next v5.10-rc4 next-20201117]
[cannot apply to xlnx/master]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Enrico-Weigelt-metux-IT-consult/drivers-gpio-use-of_match_ptr-and-ACPI_PTR-macros/20201117-234621
base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git for-next
config: x86_64-randconfig-a004-20201117 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project ace9653c11c6308401dcda2e8b26bf97e6e66e30)
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
# https://github.com/0day-ci/linux/commit/36e4dc1edd4f6c7679f654c393616dafd4ffa73c
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Enrico-Weigelt-metux-IT-consult/drivers-gpio-use-of_match_ptr-and-ACPI_PTR-macros/20201117-234621
git checkout 36e4dc1edd4f6c7679f654c393616dafd4ffa73c
# 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 >>):
>> drivers/gpio/gpio-lp3943.c:208:34: warning: unused variable 'lp3943_gpio_of_match' [-Wunused-const-variable]
static const struct of_device_id lp3943_gpio_of_match[] = {
^
1 warning generated.
--
>> drivers/gpio/gpio-pca953x.c:1236:34: warning: unused variable 'pca953x_dt_ids' [-Wunused-const-variable]
static const struct of_device_id pca953x_dt_ids[] = {
^
1 warning generated.
--
>> drivers/gpio/gpio-tpic2810.c:103:34: warning: unused variable 'tpic2810_of_match_table' [-Wunused-const-variable]
static const struct of_device_id tpic2810_of_match_table[] = {
^
1 warning generated.
--
>> drivers/gpio/gpio-twl4030.c:619:34: warning: unused variable 'twl_gpio_match' [-Wunused-const-variable]
static const struct of_device_id twl_gpio_match[] = {
^
1 warning generated.
--
>> drivers/gpio/gpio-xilinx.c:348:34: warning: unused variable 'xgpio_of_match' [-Wunused-const-variable]
static const struct of_device_id xgpio_of_match[] = {
^
1 warning generated.
vim +/lp3943_gpio_of_match +208 drivers/gpio/gpio-lp3943.c
0cc59b9d98d5541 Milo Kim 2013-12-06 207
0cc59b9d98d5541 Milo Kim 2013-12-06 @208 static const struct of_device_id lp3943_gpio_of_match[] = {
0cc59b9d98d5541 Milo Kim 2013-12-06 209 { .compatible = "ti,lp3943-gpio", },
0cc59b9d98d5541 Milo Kim 2013-12-06 210 { }
0cc59b9d98d5541 Milo Kim 2013-12-06 211 };
0cc59b9d98d5541 Milo Kim 2013-12-06 212 MODULE_DEVICE_TABLE(of, lp3943_gpio_of_match);
0cc59b9d98d5541 Milo Kim 2013-12-06 213
---
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: 32310 bytes --]
next prev parent reply other threads:[~2020-11-17 18:27 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-17 15:43 [PATCH] drivers: gpio: use of_match_ptr() and ACPI_PTR() macros Enrico Weigelt, metux IT consult
2020-11-17 15:54 ` Thierry Reding
2020-11-17 16:01 ` Lee Jones
2020-11-17 16:45 ` Andy Shevchenko
2020-11-17 16:49 ` Andy Shevchenko
2020-11-18 9:53 ` Uwe Kleine-König
2020-11-18 9:56 ` Andy Shevchenko
2020-11-18 10:01 ` Andy Shevchenko
2020-11-18 10:08 ` Lee Jones
2020-11-18 10:15 ` Andy Shevchenko
2020-11-27 12:45 ` Enrico Weigelt, metux IT consult
2020-11-17 18:27 ` kernel test robot [this message]
2020-11-17 18:27 ` kernel test robot
2020-11-17 19:30 ` kernel test robot
2020-11-17 19:30 ` kernel test robot
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=202011180219.5f6oy6D4-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/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.