tree:
https://git.kernel.org/pub/scm/linux/kernel/git/lpieralisi/linux.git
for-review/acpi-iort-id-rework
head: 4582b00b57ab0807e87d54621173a29352109551
commit: da6f5b04155d19158b2e17bcfe04f143f7c93b76 [10/11] bus: fsl-mc: Add ACPI support for
fsl-mc
config: arm-allyesconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout da6f5b04155d19158b2e17bcfe04f143f7c93b76
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>, old ones prefixed by <<):
> drivers/irqchip/irq-gic-v3-its-fsl-mc-msi.c:107:33: warning:
'union acpi_subtable_headers' declared inside parameter list will not be visible
outside of this definition or declaration
107 | its_fsl_mc_msi_parse_madt(union
acpi_subtable_headers *header,
| ^~~~~~~~~~~~~~~~~~~~~
drivers/irqchip/irq-gic-v3-its-fsl-mc-msi.c: In function
'its_fsl_mc_acpi_msi_init':
> drivers/irqchip/irq-gic-v3-its-fsl-mc-msi.c:137:2: error:
implicit declaration of function 'acpi_table_parse_madt'; did you mean
'acpi_table_parse'? [-Werror=implicit-function-declaration]
137 |
acpi_table_parse_madt(ACPI_MADT_TYPE_GENERIC_TRANSLATOR,
| ^~~~~~~~~~~~~~~~~~~~~
| acpi_table_parse
cc1: some warnings being treated as errors
vim +137 drivers/irqchip/irq-gic-v3-its-fsl-mc-msi.c
105
106 static int __init
107 its_fsl_mc_msi_parse_madt(union acpi_subtable_headers *header,
108 const unsigned long end)
109 {
110 struct acpi_madt_generic_translator *its_entry;
111 struct fwnode_handle *dom_handle;
112 const char *node_name;
113 int err = -ENXIO;
114
115 its_entry = (struct acpi_madt_generic_translator *)header;
116 node_name = kasprintf(GFP_KERNEL, "ITS@0x%lx",
117 (long)its_entry->base_address);
118
119 dom_handle = iort_find_domain_token(its_entry->translation_id);
120 if (!dom_handle) {
121 pr_err("%s: Unable to locate ITS domain handle\n", node_name);
122 goto out;
123 }
124
125 err = its_fsl_mc_msi_init_one(dom_handle, node_name);
126 if (!err)
127 pr_info("fsl-mc MSI: %s domain created\n", node_name);
128
129 out:
130 kfree(node_name);
131 return err;
132 }
133
134
135 static int __init its_fsl_mc_acpi_msi_init(void)
136 {
137 acpi_table_parse_madt(ACPI_MADT_TYPE_GENERIC_TRANSLATOR,
138 its_fsl_mc_msi_parse_madt, 0);
139
140 return 0;
141 }
142
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org