dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [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'?
@ 2019-04-11  4:02 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-04-11  4:02 UTC (permalink / raw)
  To: Anshuman Gupta; +Cc: intel-gfx, kbuild-all, dri-devel

[-- Attachment #1: Type: text/plain, Size: 2546 bytes --]

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 #2: .config.gz --]
[-- Type: application/gzip, Size: 52273 bytes --]

[-- Attachment #3: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-04-11  4:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-11  4:02 [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'? kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).