Re: [PATCH V1 14/15] spmi: pmic-arb: do not ack and clear peripheral interrupts in cleanup_irq

From: kbuild test robot
Date: Tue May 30 2017 - 18:24:19 EST


Hi Subbaraman,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.12-rc3 next-20170530]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Kiran-Gunda/spmi-pmic_arb-block-access-of-invalid-read-and-writes/20170531-034312
config: xtensa-allmodconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=xtensa

All error/warnings (new ones prefixed by >>):

>> drivers//spmi/spmi-pmic-arb.c:1163:2: error: unknown field 'activate' specified in initializer
.activate = qpnpint_irq_domain_activate,
^
>> drivers//spmi/spmi-pmic-arb.c:1163:2: warning: excess elements in struct initializer
drivers//spmi/spmi-pmic-arb.c:1163:2: warning: (near initialization for 'pmic_arb_irq_domain_ops')

vim +/activate +1163 drivers//spmi/spmi-pmic-arb.c

1147 .ver_str = "v5",
1148 .ppid_to_apid = pmic_arb_ppid_to_apid_v5,
1149 .mode = pmic_arb_mode_v2,
1150 .non_data_cmd = pmic_arb_non_data_cmd_v2,
1151 .offset = pmic_arb_offset_v5,
1152 .fmt_cmd = pmic_arb_fmt_cmd_v2,
1153 .owner_acc_status = pmic_arb_owner_acc_status_v5,
1154 .acc_enable = pmic_arb_acc_enable_v5,
1155 .irq_status = pmic_arb_irq_status_v5,
1156 .irq_clear = pmic_arb_irq_clear_v5,
1157 .channel_map_offset = pmic_arb_channel_map_offset_v5,
1158 };
1159
1160 static const struct irq_domain_ops pmic_arb_irq_domain_ops = {
1161 .map = qpnpint_irq_domain_map,
1162 .xlate = qpnpint_irq_domain_dt_translate,
> 1163 .activate = qpnpint_irq_domain_activate,
1164 };
1165
1166 static int spmi_pmic_arb_probe(struct platform_device *pdev)
1167 {
1168 struct spmi_pmic_arb *pa;
1169 struct spmi_controller *ctrl;
1170 struct resource *res;
1171 void __iomem *core;

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip