tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 32f88d65f01bf6f45476d7edbe675e44fb9e1d58
commit: e22b4973ee201486a7147efaa80b6562d3a749d1 media: c8sectpfe: Do not depend on DEBUG_FS
date: 7 weeks ago
config: arm64-randconfig-004-20240605 (https://download.01.org/0day-ci/archive/20240605/[email protected]/config)
compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project d7d2d4f53fc79b4b58e8d8d08151b577c3699d4a)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240605/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All warnings (new ones prefixed by >>):
In file included from drivers/media/platform/st/sti/c8sectpfe/c8sectpfe-core.c:16:
In file included from include/linux/dma-mapping.h:11:
In file included from include/linux/scatterlist.h:8:
In file included from include/linux/mm.h:2208:
include/linux/vmstat.h:508:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
508 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
509 | item];
| ~~~~
include/linux/vmstat.h:515:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
515 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
516 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:527:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
527 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
528 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:536:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
536 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
537 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/media/platform/st/sti/c8sectpfe/c8sectpfe-core.c:38:
>> drivers/media/platform/st/sti/c8sectpfe/c8sectpfe-debugfs.h:19:62: warning: omitting the parameter name in a function definition is a C23 extension [-Wc23-extensions]
19 | static inline void c8sectpfe_debugfs_init(struct c8sectpfei *) {};
| ^
drivers/media/platform/st/sti/c8sectpfe/c8sectpfe-debugfs.h:20:62: warning: omitting the parameter name in a function definition is a C23 extension [-Wc23-extensions]
20 | static inline void c8sectpfe_debugfs_exit(struct c8sectpfei *) {};
| ^
7 warnings generated.
vim +19 drivers/media/platform/st/sti/c8sectpfe/c8sectpfe-debugfs.h
14
15 #if defined(CONFIG_DEBUG_FS)
16 void c8sectpfe_debugfs_init(struct c8sectpfei *);
17 void c8sectpfe_debugfs_exit(struct c8sectpfei *);
18 #else
> 19 static inline void c8sectpfe_debugfs_init(struct c8sectpfei *) {};
20 static inline void c8sectpfe_debugfs_exit(struct c8sectpfei *) {};
21 #endif
22
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki