* [android-common:android16-6.12-desktop 18/18] drivers/md/dm-bow.c:793:6: warning: no previous prototype for function 'dm_bow_resume'
@ 2025-12-13 13:35 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-12-13 13:35 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
tree: https://android.googlesource.com/kernel/common android16-6.12-desktop
head: da2da0badf05a4631edf06f9a37e822b20875663
commit: d242fc9bf14a655afe36d65223e9e0d44d8ce636 [18/18] ANDROID: dm-bow: Fix 5.15 compatibility issue
config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20251213/202512132136.ig5csQZD-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251213/202512132136.ig5csQZD-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/202512132136.ig5csQZD-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/md/dm-bow.c:7:
In file included from drivers/md/dm.h:14:
In file included from include/linux/device-mapper.h:12:
In file included from include/linux/bio.h:10:
In file included from include/linux/blk_types.h:10:
In file included from include/linux/bvec.h:10:
In file included from include/linux/highmem.h:8:
In file included from include/linux/cacheflush.h:5:
In file included from arch/arm64/include/asm/cacheflush.h:11:
In file included from include/linux/kgdb.h:19:
In file included from include/linux/kprobes.h:28:
In file included from include/linux/ftrace.h:13:
In file included from include/linux/kallsyms.h:13:
In file included from include/linux/mm.h:2228:
include/linux/vmstat.h:500:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
500 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
501 | item];
| ~~~~
include/linux/vmstat.h:507:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
507 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
508 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:514:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
514 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:519:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
519 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
520 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:528:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
528 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
529 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
drivers/md/dm-bow.c:97:10: warning: no previous prototype for function 'range_top' [-Wmissing-prototypes]
97 | sector_t range_top(struct bow_range *br)
| ^
drivers/md/dm-bow.c:97:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
97 | sector_t range_top(struct bow_range *br)
| ^
| static
drivers/md/dm-bow.c:103:5: warning: no previous prototype for function 'range_size' [-Wmissing-prototypes]
103 | u64 range_size(struct bow_range *br)
| ^
drivers/md/dm-bow.c:103:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
103 | u64 range_size(struct bow_range *br)
| ^
| static
drivers/md/dm-bow.c:148:6: warning: no previous prototype for function 'add_before' [-Wmissing-prototypes]
148 | void add_before(struct rb_root *ranges, struct bow_range *new_br,
| ^
drivers/md/dm-bow.c:148:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
148 | void add_before(struct rb_root *ranges, struct bow_range *new_br,
| ^
| static
>> drivers/md/dm-bow.c:793:6: warning: no previous prototype for function 'dm_bow_resume' [-Wmissing-prototypes]
793 | void dm_bow_resume(struct dm_target *ti)
| ^
drivers/md/dm-bow.c:793:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
793 | void dm_bow_resume(struct dm_target *ti)
| ^
| static
drivers/md/dm-bow.c:1103:5: warning: no previous prototype for function 'remap_unless_illegal_trim' [-Wmissing-prototypes]
1103 | int remap_unless_illegal_trim(struct bow_context *bc, struct bio *bio)
| ^
drivers/md/dm-bow.c:1103:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1103 | int remap_unless_illegal_trim(struct bow_context *bc, struct bio *bio)
| ^
| static
drivers/md/dm-bow.c:1259:5: warning: no previous prototype for function 'dm_bow_prepare_ioctl' [-Wmissing-prototypes]
1259 | int dm_bow_prepare_ioctl(struct dm_target *ti, struct block_device **bdev)
| ^
drivers/md/dm-bow.c:1259:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1259 | int dm_bow_prepare_ioctl(struct dm_target *ti, struct block_device **bdev)
| ^
| static
drivers/md/dm-bow.c:1292:12: warning: no previous prototype for function 'dm_bow_init' [-Wmissing-prototypes]
1292 | int __init dm_bow_init(void)
| ^
drivers/md/dm-bow.c:1292:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1292 | int __init dm_bow_init(void)
| ^
| static
drivers/md/dm-bow.c:1301:6: warning: no previous prototype for function 'dm_bow_exit' [-Wmissing-prototypes]
1301 | void dm_bow_exit(void)
| ^
drivers/md/dm-bow.c:1301:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1301 | void dm_bow_exit(void)
| ^
| static
13 warnings generated.
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for INTEL_MEI_ME
Depends on [n]: X86 && PCI [=y]
Selected by [m]:
- INTEL_MEI_HDCP [=m] && (DRM_I915 [=n] || DRM_XE [=m])
- INTEL_MEI_PXP [=m] && (DRM_I915 [=n] || DRM_XE [=m])
vim +/dm_bow_resume +793 drivers/md/dm-bow.c
792
> 793 void dm_bow_resume(struct dm_target *ti)
794 {
795 struct mapped_device *md = dm_table_get_md(ti->table);
796 struct bow_context *bc = ti->private;
797 int ret;
798
799 if (bc->kobj_holder.kobj.state_initialized)
800 return;
801
802 ret = kobject_init_and_add(&bc->kobj_holder.kobj, &bow_ktype,
803 &disk_to_dev(dm_disk(md))->kobj, "%s",
804 "bow");
805 if (ret)
806 ti->error = "Cannot create sysfs node";
807 }
808
--
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-12-13 13:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-13 13:35 [android-common:android16-6.12-desktop 18/18] drivers/md/dm-bow.c:793:6: warning: no previous prototype for function 'dm_bow_resume' 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.