From: kernel test robot <lkp@intel.com>
To: Dave Jiang <dave.jiang@intel.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [djiang:cxl-qtg 14/21] include/linux/acpi.h:490:19: error: 'acpi_get_genport_attrs' declared 'static' but never defined
Date: Tue, 28 Mar 2023 20:26:11 +0800 [thread overview]
Message-ID: <202303282000.5bSuw1pi-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/djiang/linux.git cxl-qtg
head: a3ffd388575a5401efc468d0673218aeb0df5148
commit: 259dcd218ef004d6ba80e19e7bfc83052c71816f [14/21] ACPI: NUMA: Add helper function to retrieve the performance attributes
config: i386-defconfig (https://download.01.org/0day-ci/archive/20230328/202303282000.5bSuw1pi-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/djiang/linux.git/commit/?id=259dcd218ef004d6ba80e19e7bfc83052c71816f
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 259dcd218ef004d6ba80e19e7bfc83052c71816f
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=i386 olddefconfig
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/gpu/drm/i915/
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/202303282000.5bSuw1pi-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from include/linux/i2c.h:13,
from drivers/gpu/drm/i915/display/intel_display_types.h:29,
from drivers/gpu/drm/i915/display/intel_dsi.h:30,
from <command-line>:
include/linux/acpi.h:491:1: error: expected identifier or '(' before '{' token
491 | {
| ^
In file included from include/linux/i2c.h:13,
from drivers/gpu/drm/i915/display/intel_display_types.h:29,
from drivers/gpu/drm/i915/display/intel_dsi.h:30,
from <command-line>:
>> include/linux/acpi.h:490:19: error: 'acpi_get_genport_attrs' declared 'static' but never defined [-Werror=unused-function]
490 | static inline int acpi_get_genport_attrs(u8 *device_handle, u64 *val, int type);
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +490 include/linux/acpi.h
489
> 490 static inline int acpi_get_genport_attrs(u8 *device_handle, u64 *val, int type);
491 {
492 return -EOPNOTSUPP;
493 }
494 #endif
495 extern int acpi_paddr_to_node(u64 start_addr, u64 size);
496
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
reply other threads:[~2023-03-28 12:27 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=202303282000.5bSuw1pi-lkp@intel.com \
--to=lkp@intel.com \
--cc=dave.jiang@intel.com \
--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.