* [djiang:cxl-qtg 14/21] include/linux/acpi.h:490:19: error: 'acpi_get_genport_attrs' declared 'static' but never defined
@ 2023-03-28 12:26 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-03-28 12:26 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: 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-03-28 12:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-28 12:26 [djiang:cxl-qtg 14/21] include/linux/acpi.h:490:19: error: 'acpi_get_genport_attrs' declared 'static' but never defined 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.