[drm-intel:topic/core-for-CI 15/15] drivers/acpi/processor_driver.c:67:23: error: 'X86_VENDOR_INTEL' undeclared here (not in a function); did you mean 'X86_VENDOR_ANY'?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   git://anongit.freedesktop.org/drm-intel topic/core-for-CI
head:   b573fba52f339dc4fadef7282af4a9413fd6173d
commit: b573fba52f339dc4fadef7282af4a9413fd6173d [15/15] ICL HACK: Disable ACPI idle driver
config: ia64-allmodconfig (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 b573fba52f339dc4fadef7282af4a9413fd6173d
        # save the attached .config to linux build tree
        GCC_VERSION=8.1.0 make.cross ARCH=ia64 

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); did you mean 'CONFIG_PINCTRL_ICELAKE_MODULE'?
     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 +67 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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux