* [djiang:cxl-qtg 17/30] include/linux/acpi.h:1538:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_parse_entries_array'
@ 2023-05-12 2:53 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-05-12 2:53 UTC (permalink / raw)
To: Dave Jiang; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/djiang/linux.git cxl-qtg
head: fd35584ec7147f575dcdc65239bc8ac7fe340ab4
commit: 65164ecadb8fb6b57020aa130f6fe63885384021 [17/30] cxl: Add callback to parse the DSMAS subtables from CDAT
config: arm64-randconfig-r015-20230511 (https://download.01.org/0day-ci/archive/20230512/202305121010.bI8za0xi-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 12.1.0
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/djiang/linux.git/commit/?id=65164ecadb8fb6b57020aa130f6fe63885384021
git remote add djiang https://git.kernel.org/pub/scm/linux/kernel/git/djiang/linux.git
git fetch --no-tags djiang cxl-qtg
git checkout 65164ecadb8fb6b57020aa130f6fe63885384021
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 prepare
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202305121010.bI8za0xi-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from include/acpi/apei.h:9,
from include/acpi/ghes.h:5,
from include/linux/arm_sdei.h:8,
from arch/arm64/kernel/asm-offsets.c:10:
>> include/linux/acpi.h:1538:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_parse_entries_array'
1538 | int __init_or_acpilib acpi_parse_entries_array(
| ^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/acpi.h:1544:27: error: unknown type name 'acpi_tbl_entry_handler_arg'; did you mean 'acpi_gbl_event_handler'?
1544 | acpi_tbl_entry_handler_arg handler, void *arg,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| acpi_gbl_event_handler
make[2]: *** [scripts/Makefile.build:114: arch/arm64/kernel/asm-offsets.s] Error 1
make[2]: Target 'prepare' not remade because of errors.
make[1]: *** [Makefile:1286: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:226: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
vim +1538 include/linux/acpi.h
7847a1455fc457 Heikki Krogerus 2018-11-09 1536
216b67abb7e235 Dave Jiang 2023-05-11 1537 #ifdef CONFIG_ACPI_TABLES_LIB
216b67abb7e235 Dave Jiang 2023-05-11 @1538 int __init_or_acpilib acpi_parse_entries_array(
216b67abb7e235 Dave Jiang 2023-05-11 1539 char *id, unsigned long table_size,
216b67abb7e235 Dave Jiang 2023-05-11 1540 struct acpi_table_header *table_header, struct acpi_subtable_proc *proc,
216b67abb7e235 Dave Jiang 2023-05-11 1541 int proc_num, unsigned int max_entries);
7d709841b48071 Dave Jiang 2023-04-25 1542
:::::: The code at line 1538 was first introduced by commit
:::::: 216b67abb7e235c9a13ddf78f428cccf11a089f4 acpi: move common tables helper functions to common lib
:::::: TO: Dave Jiang <dave.jiang@intel.com>
:::::: CC: Dave Jiang <dave.jiang@intel.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-05-12 2:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-12 2:53 [djiang:cxl-qtg 17/30] include/linux/acpi.h:1538:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_parse_entries_array' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.