* [jgunthorpe:iommu_pt 37/53] drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c:37: warning: "VA_BITS" redefined
@ 2024-07-04 10:45 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-07-04 10:45 UTC (permalink / raw)
To: Jason Gunthorpe; +Cc: oe-kbuild-all
tree: https://github.com/jgunthorpe/linux iommu_pt
head: 2bf23486e7eae67485953abf3529ad2d3a90384b
commit: 23dbb9b1e1ec4cc15b44eeb954b5045ed86daf78 [37/53] add COMPILE_TEST
config: loongarch-allyesconfig (https://download.01.org/0day-ci/archive/20240704/202407041854.qownApOL-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240704/202407041854.qownApOL-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202407041854.qownApOL-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c:32:
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h:755:41: error: field 'mmu_notifier' has incomplete type
755 | struct mmu_notifier mmu_notifier;
| ^~~~~~~~~~~~
>> drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c:37: warning: "VA_BITS" redefined
37 | #define VA_BITS 39
|
In file included from arch/loongarch/include/asm/uaccess.h:17,
from include/linux/uaccess.h:11,
from include/linux/sched/task.h:13,
from include/linux/sched/signal.h:9,
from include/linux/rcuwait.h:6,
from include/linux/percpu-rwsem.h:7,
from include/linux/fs.h:33,
from arch/loongarch/include/asm/elf.h:9,
from include/linux/elf.h:6,
from include/linux/module.h:19,
from include/linux/device/driver.h:21,
from include/linux/device.h:32,
from include/linux/acpi.h:14,
from drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c:12:
arch/loongarch/include/asm/pgtable.h:45: note: this is the location of the previous definition
45 | #define VA_BITS (PGDIR_SHIFT + (PAGE_SHIFT - 3))
|
vim +/VA_BITS +37 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c
31
> 32 #include "arm-smmu-v3.h"
33 #include "../../dma-iommu.h"
34
35 #ifndef __aarch64__
36 #define wfe()
> 37 #define VA_BITS 39
38 #define cpus_have_cap(x) false
39 #endif
40
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-07-04 10:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-04 10:45 [jgunthorpe:iommu_pt 37/53] drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c:37: warning: "VA_BITS" redefined kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.