From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [android-common:android16-6.12 12/12] drivers/md/dm-bow.c:793:6: sparse: sparse: symbol 'dm_bow_resume' was not declared. Should it be static?
Date: Sat, 18 Jul 2026 14:52:31 +0800 [thread overview]
Message-ID: <202607181440.RgHiudwG-lkp@intel.com> (raw)
tree: https://android.googlesource.com/kernel/common android16-6.12
head: 0fd55a309793adc6b8cddb5c29e80caa545ba4bb
commit: d242fc9bf14a655afe36d65223e9e0d44d8ce636 [12/12] ANDROID: dm-bow: Fix 5.15 compatibility issue
config: arm-randconfig-r112-20260716 (https://download.01.org/0day-ci/archive/20260718/202607181440.RgHiudwG-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 15.2.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260718/202607181440.RgHiudwG-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/202607181440.RgHiudwG-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
drivers/md/dm-bow.c:97:10: sparse: sparse: symbol 'range_top' was not declared. Should it be static?
drivers/md/dm-bow.c:148:6: sparse: sparse: symbol 'add_before' was not declared. Should it be static?
drivers/md/dm-bow.c:178:24: sparse: sparse: incorrect type in return expression (different base types) @@ expected int @@ got restricted blk_status_t [usertype] @@
drivers/md/dm-bow.c:178:24: sparse: expected int
drivers/md/dm-bow.c:178:24: sparse: got restricted blk_status_t [usertype]
drivers/md/dm-bow.c:186:32: sparse: sparse: incorrect type in return expression (different base types) @@ expected int @@ got restricted blk_status_t [usertype] @@
drivers/md/dm-bow.c:186:32: sparse: expected int
drivers/md/dm-bow.c:186:32: sparse: got restricted blk_status_t [usertype]
drivers/md/dm-bow.c:205:24: sparse: sparse: incorrect type in return expression (different base types) @@ expected int @@ got restricted blk_status_t [usertype] @@
drivers/md/dm-bow.c:205:24: sparse: expected int
drivers/md/dm-bow.c:205:24: sparse: got restricted blk_status_t [usertype]
drivers/md/dm-bow.c:282:24: sparse: sparse: incorrect type in return expression (different base types) @@ expected int @@ got restricted blk_status_t [usertype] @@
drivers/md/dm-bow.c:282:24: sparse: expected int
drivers/md/dm-bow.c:282:24: sparse: got restricted blk_status_t [usertype]
drivers/md/dm-bow.c:395:24: sparse: sparse: incorrect type in return expression (different base types) @@ expected int @@ got restricted blk_status_t [usertype] @@
drivers/md/dm-bow.c:395:24: sparse: expected int
drivers/md/dm-bow.c:395:24: sparse: got restricted blk_status_t [usertype]
drivers/md/dm-bow.c:339:24: sparse: sparse: incorrect type in return expression (different base types) @@ expected int @@ got restricted blk_status_t [usertype] @@
drivers/md/dm-bow.c:339:24: sparse: expected int
drivers/md/dm-bow.c:339:24: sparse: got restricted blk_status_t [usertype]
drivers/md/dm-bow.c:344:24: sparse: sparse: incorrect type in return expression (different base types) @@ expected int @@ got restricted blk_status_t [usertype] @@
drivers/md/dm-bow.c:344:24: sparse: expected int
drivers/md/dm-bow.c:344:24: sparse: got restricted blk_status_t [usertype]
drivers/md/dm-bow.c:350:24: sparse: sparse: incorrect type in return expression (different base types) @@ expected int @@ got restricted blk_status_t [usertype] @@
drivers/md/dm-bow.c:350:24: sparse: expected int
drivers/md/dm-bow.c:350:24: sparse: got restricted blk_status_t [usertype]
drivers/md/dm-bow.c:358:24: sparse: sparse: incorrect type in return expression (different base types) @@ expected int @@ got restricted blk_status_t [usertype] @@
drivers/md/dm-bow.c:358:24: sparse: expected int
drivers/md/dm-bow.c:358:24: sparse: got restricted blk_status_t [usertype]
drivers/md/dm-bow.c:422:24: sparse: sparse: incorrect type in return expression (different base types) @@ expected int @@ got restricted blk_status_t [usertype] @@
drivers/md/dm-bow.c:422:24: sparse: expected int
drivers/md/dm-bow.c:422:24: sparse: got restricted blk_status_t [usertype]
drivers/md/dm-bow.c:427:24: sparse: sparse: incorrect type in return expression (different base types) @@ expected int @@ got restricted blk_status_t [usertype] @@
drivers/md/dm-bow.c:427:24: sparse: expected int
drivers/md/dm-bow.c:427:24: sparse: got restricted blk_status_t [usertype]
drivers/md/dm-bow.c:437:24: sparse: sparse: incorrect type in return expression (different base types) @@ expected int @@ got restricted blk_status_t [usertype] @@
drivers/md/dm-bow.c:437:24: sparse: expected int
drivers/md/dm-bow.c:437:24: sparse: got restricted blk_status_t [usertype]
drivers/md/dm-bow.c:443:24: sparse: sparse: incorrect type in return expression (different base types) @@ expected int @@ got restricted blk_status_t [usertype] @@
drivers/md/dm-bow.c:443:24: sparse: expected int
drivers/md/dm-bow.c:443:24: sparse: got restricted blk_status_t [usertype]
drivers/md/dm-bow.c:462:24: sparse: sparse: incorrect type in return expression (different base types) @@ expected int @@ got restricted blk_status_t [usertype] @@
drivers/md/dm-bow.c:462:24: sparse: expected int
drivers/md/dm-bow.c:462:24: sparse: got restricted blk_status_t [usertype]
drivers/md/dm-bow.c:553:53: sparse: sparse: Using plain integer as NULL pointer
>> drivers/md/dm-bow.c:793:6: sparse: sparse: symbol 'dm_bow_resume' was not declared. Should it be static?
drivers/md/dm-bow.c:827:24: sparse: sparse: incorrect type in return expression (different base types) @@ expected int @@ got restricted blk_status_t [usertype] @@
drivers/md/dm-bow.c:827:24: sparse: expected int
drivers/md/dm-bow.c:827:24: sparse: got restricted blk_status_t [usertype]
drivers/md/dm-bow.c:846:24: sparse: sparse: incorrect type in return expression (different base types) @@ expected int @@ got restricted blk_status_t [usertype] @@
drivers/md/dm-bow.c:846:24: sparse: expected int
drivers/md/dm-bow.c:846:24: sparse: got restricted blk_status_t [usertype]
drivers/md/dm-bow.c:939:24: sparse: sparse: incorrect type in return expression (different base types) @@ expected int @@ got restricted blk_status_t [usertype] @@
drivers/md/dm-bow.c:939:24: sparse: expected int
drivers/md/dm-bow.c:939:24: sparse: got restricted blk_status_t [usertype]
drivers/md/dm-bow.c:975:32: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted blk_status_t [usertype] bi_status @@ got int [assigned] ret @@
drivers/md/dm-bow.c:975:32: sparse: expected restricted blk_status_t [usertype] bi_status
drivers/md/dm-bow.c:975:32: sparse: got int [assigned] ret
drivers/md/dm-bow.c:1103:5: sparse: sparse: symbol 'remap_unless_illegal_trim' was not declared. Should it be static?
drivers/md/dm-bow.c:1259:5: sparse: sparse: symbol 'dm_bow_prepare_ioctl' was not declared. Should it be static?
drivers/md/dm-bow.c:1292:12: sparse: sparse: symbol 'dm_bow_init' was not declared. Should it be static?
drivers/md/dm-bow.c:1301:6: sparse: sparse: symbol 'dm_bow_exit' was not declared. Should it be static?
drivers/md/dm-bow.c:524:21: sparse: sparse: unsigned value that used to be signed checked against zero?
drivers/md/dm-bow.c:523:26: sparse: signed value source
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
reply other threads:[~2026-07-18 6:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202607181440.RgHiudwG-lkp@intel.com \
--to=lkp@intel.com \
--cc=cros-kernel-buildreports@googlegroups.com \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.