From: kernel test robot <lkp@intel.com>
To: Dave Jiang <dave.jiang@intel.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Jonathan Cameron <Jonathan.Cameron@huawei.com>
Subject: [djiang:cxl-qtg 9/20] lib/fw_table.c:236:22: error: use of undeclared identifier 'cdat_table_parse'; did you mean 'acpi_table_parse'?
Date: Mon, 11 Dec 2023 05:33:43 +0800 [thread overview]
Message-ID: <202312110552.D6nSP8Y5-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/djiang/linux.git cxl-qtg
head: 2d34ef1dba862ef38a027e8135475bb317894702
commit: 8e96a43deade4e1db56f3386c7a3c185f22310f7 [9/20] cxl: Add callback to parse the DSMAS subtables from CDAT
config: arm64-randconfig-002-20231211 (https://download.01.org/0day-ci/archive/20231211/202312110552.D6nSP8Y5-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231211/202312110552.D6nSP8Y5-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312110552.D6nSP8Y5-lkp@intel.com/
All errors (new ones prefixed by >>):
lib/fw_table.c:29:39: error: expected ';' after top level declarator
static unsigned long __init_or_acpilib
^
;
>> lib/fw_table.c:236:22: error: use of undeclared identifier 'cdat_table_parse'; did you mean 'acpi_table_parse'?
EXPORT_SYMBOL_NS_GPL(cdat_table_parse, CXL);
^~~~~~~~~~~~~~~~
acpi_table_parse
include/linux/export.h:89:55: note: expanded from macro 'EXPORT_SYMBOL_NS_GPL'
#define EXPORT_SYMBOL_NS_GPL(sym, ns) __EXPORT_SYMBOL(sym, "GPL", __stringify(ns))
^
include/linux/export.h:75:16: note: expanded from macro '__EXPORT_SYMBOL'
__ADDRESSABLE(sym) \
^
include/linux/compiler.h:214:17: note: expanded from macro '__ADDRESSABLE'
___ADDRESSABLE(sym, __section(".discard.addressable"))
^
include/linux/compiler.h:212:55: note: expanded from macro '___ADDRESSABLE'
__UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)&sym;
^
include/linux/acpi.h:908:19: note: 'acpi_table_parse' declared here
static inline int acpi_table_parse(char *id,
^
2 errors generated.
vim +236 lib/fw_table.c
3c31bb75ec8d40 Dave Jiang 2023-05-24 217
3c31bb75ec8d40 Dave Jiang 2023-05-24 218 int cdat_table_parse(enum acpi_cdat_type type,
3c31bb75ec8d40 Dave Jiang 2023-05-24 219 acpi_tbl_entry_handler_arg handler_arg, void *arg,
3c31bb75ec8d40 Dave Jiang 2023-05-24 220 struct acpi_table_cdat *table_header)
3c31bb75ec8d40 Dave Jiang 2023-05-24 221 {
3c31bb75ec8d40 Dave Jiang 2023-05-24 222 struct acpi_subtable_proc proc = {
3c31bb75ec8d40 Dave Jiang 2023-05-24 223 .id = type,
3c31bb75ec8d40 Dave Jiang 2023-05-24 224 .handler_arg = handler_arg,
3c31bb75ec8d40 Dave Jiang 2023-05-24 225 .arg = arg,
3c31bb75ec8d40 Dave Jiang 2023-05-24 226 };
3c31bb75ec8d40 Dave Jiang 2023-05-24 227
3c31bb75ec8d40 Dave Jiang 2023-05-24 228 if (!table_header)
3c31bb75ec8d40 Dave Jiang 2023-05-24 229 return -EINVAL;
3c31bb75ec8d40 Dave Jiang 2023-05-24 230
3c31bb75ec8d40 Dave Jiang 2023-05-24 231 return acpi_parse_entries_array(ACPI_SIG_CDAT,
3c31bb75ec8d40 Dave Jiang 2023-05-24 232 sizeof(struct acpi_table_cdat),
3c31bb75ec8d40 Dave Jiang 2023-05-24 233 (union fw_table_header *)table_header,
3c31bb75ec8d40 Dave Jiang 2023-05-24 234 &proc, 1, 0);
3c31bb75ec8d40 Dave Jiang 2023-05-24 235 }
3c31bb75ec8d40 Dave Jiang 2023-05-24 @236 EXPORT_SYMBOL_NS_GPL(cdat_table_parse, CXL);
:::::: The code at line 236 was first introduced by commit
:::::: 3c31bb75ec8d4007bb99dc34ad5efbb1ffe6ff3b lib/firmware_table: tables: Add CDAT table parsing support
:::::: 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/wiki
reply other threads:[~2023-12-10 21:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202312110552.D6nSP8Y5-lkp@intel.com \
--to=lkp@intel.com \
--cc=Jonathan.Cameron@huawei.com \
--cc=dave.jiang@intel.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.