* [ambarus:b4/acpm-debugfs 3/4] drivers/firmware/samsung/exynos-acpm.h:7:9: warning: '__EXYNOS_ACPM_H__' is used as a header guard here, followed by #define of a different macro
@ 2025-02-22 5:14 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-02-22 5:14 UTC (permalink / raw)
To: Tudor Ambarus; +Cc: llvm, oe-kbuild-all
tree: https://github.com/ambarus/linux-0day b4/acpm-debugfs
head: bafe7f9a113167725d05a697c67c199f0be52748
commit: 9dd49cfd36484439b89892286b5d0ed7af69e0bd [3/4] firmware: exynos-acpm: move common structures to exynos-acpm.h
config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20250222/202502221308.l4i4pSeO-lkp@intel.com/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250222/202502221308.l4i4pSeO-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/202502221308.l4i4pSeO-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/firmware/samsung/exynos-acpm.c:14:
In file included from include/linux/device.h:32:
In file included from include/linux/device/driver.h:21:
In file included from include/linux/module.h:19:
In file included from include/linux/elf.h:6:
In file included from arch/s390/include/asm/elf.h:181:
In file included from arch/s390/include/asm/mmu_context.h:11:
In file included from arch/s390/include/asm/pgalloc.h:18:
In file included from include/linux/mm.h:2224:
include/linux/vmstat.h:504:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
504 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
505 | item];
| ~~~~
include/linux/vmstat.h:511:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
511 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
512 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:524:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
524 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
525 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/firmware/samsung/exynos-acpm.c:29:
>> drivers/firmware/samsung/exynos-acpm.h:7:9: warning: '__EXYNOS_ACPM_H__' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
7 | #ifndef __EXYNOS_ACPM_H__
| ^~~~~~~~~~~~~~~~~
drivers/firmware/samsung/exynos-acpm.h:8:9: note: '__EXYNOS_ACPM_H_' is defined here; did you mean '__EXYNOS_ACPM_H__'?
8 | #define __EXYNOS_ACPM_H_
| ^~~~~~~~~~~~~~~~
| __EXYNOS_ACPM_H__
4 warnings generated.
vim +/__EXYNOS_ACPM_H__ +7 drivers/firmware/samsung/exynos-acpm.h
> 7 #ifndef __EXYNOS_ACPM_H__
8 #define __EXYNOS_ACPM_H_
9
--
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:[~2025-02-22 5:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-22 5:14 [ambarus:b4/acpm-debugfs 3/4] drivers/firmware/samsung/exynos-acpm.h:7:9: warning: '__EXYNOS_ACPM_H__' is used as a header guard here, followed by #define of a different macro 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.