Re: [PATCH 1/2] drm/i915: split out intel_vtd.[ch] from i915_drv.h

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

 



Hi Jani,

I love your patch! Yet something to improve:

[auto build test ERROR on drm-tip/drm-tip]
[also build test ERROR on next-20211224]
[cannot apply to drm-intel/for-linux-next v5.16-rc8]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Jani-Nikula/drm-i915-split-out-intel_vtd-ch-from-i915_drv-h/20220104-193101
base:   git://anongit.freedesktop.org/drm/drm-tip drm-tip
config: i386-defconfig (https://download.01.org/0day-ci/archive/20220104/202201042252.AGVzXb16-lkp@xxxxxxxxx/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/0day-ci/linux/commit/ef4b90e055daa6bac50bd643fd2d8b6b81f03914
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Jani-Nikula/drm-i915-split-out-intel_vtd-ch-from-i915_drv-h/20220104-193101
        git checkout ef4b90e055daa6bac50bd643fd2d8b6b81f03914
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

   In file included from drivers/gpu/drm/i915/intel_vtd.h:9,
                    from <command-line>:
>> arch/x86/include/asm/hypervisor.h:78:15: error: unknown type name 'bool'
      78 | static inline bool hypervisor_is_type(enum x86_hypervisor_type type)
         |               ^~~~


vim +/bool +78 arch/x86/include/asm/hypervisor.h

cc8f3b4dd2eb85 Zhenzhong Duan  2019-07-16  68  
30978346372e5c Zhenzhong Duan  2019-07-11  69  extern bool nopv;
03b2a320b19f14 Juergen Gross   2017-11-09  70  extern enum x86_hypervisor_type x86_hyper_type;
6276a074c65199 Borislav Petkov 2013-03-04  71  extern void init_hypervisor_platform(void);
79cc7415521831 Thomas Gleixner 2017-12-04  72  static inline bool hypervisor_is_type(enum x86_hypervisor_type type)
79cc7415521831 Thomas Gleixner 2017-12-04  73  {
79cc7415521831 Thomas Gleixner 2017-12-04  74  	return x86_hyper_type == type;
79cc7415521831 Thomas Gleixner 2017-12-04  75  }
6276a074c65199 Borislav Petkov 2013-03-04  76  #else
6276a074c65199 Borislav Petkov 2013-03-04  77  static inline void init_hypervisor_platform(void) { }
79cc7415521831 Thomas Gleixner 2017-12-04 @78  static inline bool hypervisor_is_type(enum x86_hypervisor_type type)

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx



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

  Powered by Linux