[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202205130506.HnFWEJtK-lkp@intel.com>
Date: Fri, 13 May 2022 05:10:45 +0800
From: kernel test robot <lkp@...el.com>
To: Steve Wahl <steve.wahl@....com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
0day robot <lkp@...el.com>
Subject: include/linux/dmar.h:21:33: error: 'CONFIG_DMAR_UNITS_SUPPORTED'
undeclared here (not in a function); did you mean 'DMAR_UNITS_SUPPORTED'?
tree: https://github.com/intel-lab-lkp/linux/commits/UPDATE-20220512-231415/Steve-Wahl/iommu-vt-d-Increase-DMAR_UNITS_SUPPORTED/20220506-035321
head: 70fc6f8ca45b69a710b82d38ef61ac43a73fef24
commit: 70fc6f8ca45b69a710b82d38ef61ac43a73fef24 iommu/vt-d: Make DMAR_UNITS_SUPPORTED a config setting
date: 6 hours ago
config: x86_64-randconfig-a002 (https://download.01.org/0day-ci/archive/20220513/202205130506.HnFWEJtK-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.2.0-20) 11.2.0
reproduce (this is a W=1 build):
# https://github.com/intel-lab-lkp/linux/commit/70fc6f8ca45b69a710b82d38ef61ac43a73fef24
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review UPDATE-20220512-231415/Steve-Wahl/iommu-vt-d-Increase-DMAR_UNITS_SUPPORTED/20220506-035321
git checkout 70fc6f8ca45b69a710b82d38ef61ac43a73fef24
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
In file included from include/linux/intel-iommu.h:21,
from arch/x86/kvm/x86.c:44:
>> include/linux/dmar.h:21:33: error: 'CONFIG_DMAR_UNITS_SUPPORTED' undeclared here (not in a function); did you mean 'DMAR_UNITS_SUPPORTED'?
21 | #define DMAR_UNITS_SUPPORTED CONFIG_DMAR_UNITS_SUPPORTED
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/intel-iommu.h:531:35: note: in expansion of macro 'DMAR_UNITS_SUPPORTED'
531 | unsigned int iommu_refcnt[DMAR_UNITS_SUPPORTED];
| ^~~~~~~~~~~~~~~~~~~~
vim +21 include/linux/dmar.h
20
> 21 #define DMAR_UNITS_SUPPORTED CONFIG_DMAR_UNITS_SUPPORTED
22
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists