public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
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 03:30:38 +0800	[thread overview]
Message-ID: <202011180304.0S52cRpO-lkp@intel.com> (raw)
In-Reply-To: <20201117154340.18216-1-info@metux.net>

[-- Attachment #1: Type: text/plain, Size: 3421 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-r032-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-palmas.c:137:34: warning: unused variable 'of_palmas_gpio_match' [-Wunused-const-variable]
   static const struct of_device_id of_palmas_gpio_match[] = {
                                    ^
   1 warning generated.
--
>> drivers/gpio/gpio-pca9570.c:128:34: warning: unused variable 'pca9570_of_match_table' [-Wunused-const-variable]
   static const struct of_device_id pca9570_of_match_table[] = {
                                    ^
   1 warning generated.
--
>> drivers/gpio/gpio-pisosr.c:183:34: warning: unused variable 'pisosr_gpio_of_match_table' [-Wunused-const-variable]
   static const struct of_device_id pisosr_gpio_of_match_table[] = {
                                    ^
   1 warning generated.

vim +/of_palmas_gpio_match +137 drivers/gpio/gpio-palmas.c

ca6af7b96ab6213 Laxman Dewangan 2013-09-03  136  
722782fee83b716 Jingoo Han      2014-05-07 @137  static const struct of_device_id of_palmas_gpio_match[] = {
ca6af7b96ab6213 Laxman Dewangan 2013-09-03  138  	{ .compatible = "ti,palmas-gpio", .data = &palmas_dev_data,},
ca6af7b96ab6213 Laxman Dewangan 2013-09-03  139  	{ .compatible = "ti,tps65913-gpio", .data = &palmas_dev_data,},
ca6af7b96ab6213 Laxman Dewangan 2013-09-03  140  	{ .compatible = "ti,tps65914-gpio", .data = &palmas_dev_data,},
ca6af7b96ab6213 Laxman Dewangan 2013-09-03  141  	{ .compatible = "ti,tps80036-gpio", .data = &tps80036_dev_data,},
ca6af7b96ab6213 Laxman Dewangan 2013-09-03  142  	{ },
ca6af7b96ab6213 Laxman Dewangan 2013-09-03  143  };
ca6af7b96ab6213 Laxman Dewangan 2013-09-03  144  

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

      parent reply	other threads:[~2020-11-17 19:31 UTC|newest]

Thread overview: 13+ 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
2020-11-17 19:30 ` kernel test robot [this message]

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=202011180304.0S52cRpO-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=Eugeniy.Paltsev@synopsys.com \
    --cc=albeu@free.fr \
    --cc=andrew@aj.id.au \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=bgolaszewski@baylibre.com \
    --cc=clang-built-linux@googlegroups.com \
    --cc=f.fainelli@gmail.com \
    --cc=hoan@os.amperecomputing.com \
    --cc=info@metux.net \
    --cc=kbuild-all@lists.01.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sbranden@broadcom.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox