[arm-platforms:irq/irq_cpu_offline 2/7] drivers/irqchip/irq-meson-gpio.c:124:34: warning: unused variable 'meson_irq_gpio_matches'

kernel test robot lkp at intel.com
Wed Oct 27 04:14:10 PDT 2021


Hi Neil,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git irq/irq_cpu_offline
head:   8d15a7295d33538954df2bca6a4011e4311a9cc2
commit: a947aa00edd4d465f89fdb6029ed40c00a344bc2 [2/7] irqchip/meson-gpio: Make it possible to build as a module
config: arm-randconfig-r025-20211027 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 5db7568a6a1fcb408eb8988abdaff2a225a8eb72)
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
        # https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?id=a947aa00edd4d465f89fdb6029ed40c00a344bc2
        git remote add arm-platforms https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git
        git fetch --no-tags arm-platforms irq/irq_cpu_offline
        git checkout a947aa00edd4d465f89fdb6029ed40c00a344bc2
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm 

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

All warnings (new ones prefixed by >>):

>> drivers/irqchip/irq-meson-gpio.c:124:34: warning: unused variable 'meson_irq_gpio_matches' [-Wunused-const-variable]
   static const struct of_device_id meson_irq_gpio_matches[] = {
                                    ^
   1 warning generated.

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for QCOM_SCM
   Depends on (ARM || ARM64) && HAVE_ARM_SMCCC
   Selected by
   - ARM_QCOM_SPM_CPUIDLE && CPU_IDLE && (ARM || ARM64) && (ARCH_QCOM || COMPILE_TEST && !ARM64 && MMU
   WARNING: unmet direct dependencies detected for ARM_CPU_SUSPEND
   Depends on ARCH_SUSPEND_POSSIBLE
   Selected by
   - ARM_QCOM_SPM_CPUIDLE && CPU_IDLE && (ARM || ARM64) && (ARCH_QCOM || COMPILE_TEST && !ARM64 && MMU


vim +/meson_irq_gpio_matches +124 drivers/irqchip/irq-meson-gpio.c

8f78bd62bdd7a7 Qianggui Song       2019-12-16  123  
215f4cc0fb2086 Jerome Brunet       2017-09-18 @124  static const struct of_device_id meson_irq_gpio_matches[] = {
4e4cb1b183d6e9 Martin Blumenstingl 2017-10-30  125  	{ .compatible = "amlogic,meson8-gpio-intc", .data = &meson8_params },
215f4cc0fb2086 Jerome Brunet       2017-09-18  126  	{ .compatible = "amlogic,meson8b-gpio-intc", .data = &meson8b_params },
215f4cc0fb2086 Jerome Brunet       2017-09-18  127  	{ .compatible = "amlogic,meson-gxbb-gpio-intc", .data = &gxbb_params },
215f4cc0fb2086 Jerome Brunet       2017-09-18  128  	{ .compatible = "amlogic,meson-gxl-gpio-intc", .data = &gxl_params },
868c4e07533c67 Yixun Lan           2018-04-08  129  	{ .compatible = "amlogic,meson-axg-gpio-intc", .data = &axg_params },
c64a9e804ccf86 Xingyu Chen         2019-06-08  130  	{ .compatible = "amlogic,meson-g12a-gpio-intc", .data = &axg_params },
b2fb4b77994abc Jerome Brunet       2019-08-29  131  	{ .compatible = "amlogic,meson-sm1-gpio-intc", .data = &sm1_params },
8f78bd62bdd7a7 Qianggui Song       2019-12-16  132  	{ .compatible = "amlogic,meson-a1-gpio-intc", .data = &a1_params },
215f4cc0fb2086 Jerome Brunet       2017-09-18  133  	{ }
215f4cc0fb2086 Jerome Brunet       2017-09-18  134  };
215f4cc0fb2086 Jerome Brunet       2017-09-18  135  

:::::: The code at line 124 was first introduced by commit
:::::: 215f4cc0fb208665dd15a524ec57edf4d7e215e6 irqchip/meson: Add support for gpio interrupt controller

:::::: TO: Jerome Brunet <jbrunet at baylibre.com>
:::::: CC: Marc Zyngier <marc.zyngier at arm.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 33368 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20211027/21c6e826/attachment-0001.gz>


More information about the linux-arm-kernel mailing list