[drm-intel:topic/core-for-CI 16/16] drivers//acpi/processor_driver.c:69:7: error: 'INTEL_FAM6_ICELAKE_MOBILE' undeclared here (not in a function)
kbuild test robot
lkp at intel.com
Tue Apr 30 01:21:23 UTC 2019
tree: git://anongit.freedesktop.org/drm-intel topic/core-for-CI
head: 5172ea7b473b47bf94d78cabdce3dc8eb6c4e976
commit: 5172ea7b473b47bf94d78cabdce3dc8eb6c4e976 [16/16] ICL HACK: Disable ACPI idle driver
config: ia64-gensparse_defconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 8.1.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 5172ea7b473b47bf94d78cabdce3dc8eb6c4e976
# save the attached .config to linux build tree
GCC_VERSION=8.1.0 make.cross ARCH=ia64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp at intel.com>
All errors (new ones prefixed by >>):
drivers//acpi/processor_driver.c:67:23: error: 'X86_VENDOR_INTEL' undeclared here (not in a function); did you mean 'X86_VENDOR_ANY'?
#define ICPU(model) { X86_VENDOR_INTEL, 6, model, X86_FEATURE_ANY, }
^~~~~~~~~~~~~~~~
drivers//acpi/processor_driver.c:69:2: note: in expansion of macro 'ICPU'
ICPU(INTEL_FAM6_ICELAKE_MOBILE), /* ICL */
^~~~
>> drivers//acpi/processor_driver.c:69:7: error: 'INTEL_FAM6_ICELAKE_MOBILE' undeclared here (not in a function)
ICPU(INTEL_FAM6_ICELAKE_MOBILE), /* ICL */
^~~~~~~~~~~~~~~~~~~~~~~~~
drivers//acpi/processor_driver.c:67:44: note: in definition of macro 'ICPU'
#define ICPU(model) { X86_VENDOR_INTEL, 6, model, X86_FEATURE_ANY, }
^~~~~
drivers//acpi/processor_driver.c: In function '__acpi_processor_start':
drivers//acpi/processor_driver.c:256:7: error: implicit declaration of function 'x86_match_cpu'; did you mean 'on_each_cpu'? [-Werror=implicit-function-declaration]
id = x86_match_cpu(intel_cpu_ids);
^~~~~~~~~~~~~
on_each_cpu
drivers//acpi/processor_driver.c:256:5: warning: assignment to 'const struct x86_cpu_id *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
id = x86_match_cpu(intel_cpu_ids);
^
cc1: some warnings being treated as errors
vim +/INTEL_FAM6_ICELAKE_MOBILE +69 drivers//acpi/processor_driver.c
66
> 67 #define ICPU(model) { X86_VENDOR_INTEL, 6, model, X86_FEATURE_ANY, }
68 static const struct x86_cpu_id intel_cpu_ids[] = {
> 69 ICPU(INTEL_FAM6_ICELAKE_MOBILE), /* ICL */
70 {}
71 };
72 MODULE_DEVICE_TABLE(x86cpu, intel_cpu_ids);
73
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 17730 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190430/7e6accb0/attachment-0001.gz>
More information about the dri-devel
mailing list