lkml.org 
[lkml]   [2022]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[lee-mfd:for-mfd-next 25/34] drivers/mfd/axp20x.c:634:3: error: field designator 'get_irq_reg' does not refer to any field in type 'const struct regmap_irq_chip'
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next
head: e0d1c4b1c0a80d4ae9f9bfcc15d048629f096928
commit: 8c7d8aa029a3cac42a468cd458adde840d2c5a06 [25/34] mfd: axp20x: Add support for AXP192
config: hexagon-randconfig-r045-20220703 (https://download.01.org/0day-ci/archive/20220704/202207042221.MARNUo8r-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project f7a80c3d08d4821e621fc88d6a2e435291f82dff)
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
# https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git/commit/?id=8c7d8aa029a3cac42a468cd458adde840d2c5a06
git remote add lee-mfd https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git
git fetch --no-tags lee-mfd for-mfd-next
git checkout 8c7d8aa029a3cac42a468cd458adde840d2c5a06
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> drivers/mfd/axp20x.c:634:3: error: field designator 'get_irq_reg' does not refer to any field in type 'const struct regmap_irq_chip'
.get_irq_reg = axp192_get_irq_reg,
^
1 error generated.


vim +634 drivers/mfd/axp20x.c

623
624 static const struct regmap_irq_chip axp192_regmap_irq_chip = {
625 .name = "axp192_irq_chip",
626 .status_base = AXP192_IRQ1_STATE,
627 .ack_base = AXP192_IRQ1_STATE,
628 .mask_base = AXP192_IRQ1_EN,
629 .mask_invert = true,
630 .init_ack_masked = true,
631 .irqs = axp192_regmap_irqs,
632 .num_irqs = ARRAY_SIZE(axp192_regmap_irqs),
633 .num_regs = 5,
> 634 .get_irq_reg = axp192_get_irq_reg,
635 };
636

--
0-DAY CI Kernel Test Service
https://01.org/lkp

\
 
 \ /
  Last update: 2022-07-04 16:15    [W:0.033 / U:2.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site