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