From: kernel test robot <[email protected]>
To: Ammar Faizi <[email protected]>,
GNU/Weeb Mailing List <[email protected]>
Cc: [email protected]
Subject: [ammarfaizi2-block:google/android/kernel/common/android14-5.15 2/3] drivers/md/dm-bow.c:793:6: sparse: sparse: symbol 'dm_bow_resume' was not declared. Should it be static?
Date: Sun, 12 Feb 2023 10:08:30 +0800 [thread overview]
Message-ID: <[email protected]> (raw)
tree: https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android14-5.15
head: 8e623dc18e9fdeb16ef44e318baa614a85b07612
commit: f6908a0d69bb0afccc6e3ddbc1876b5005733fa7 [2/3] ANDROID: dm-bow: Fix 5.15 compatibility issue
config: i386-randconfig-s002 (https://download.01.org/0day-ci/archive/20230212/[email protected]/config)
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.4-39-gce1a6720-dirty
# https://github.com/ammarfaizi2/linux-block/commit/f6908a0d69bb0afccc6e3ddbc1876b5005733fa7
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android14-5.15
git checkout f6908a0d69bb0afccc6e3ddbc1876b5005733fa7
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 olddefconfig
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 SHELL=/bin/bash drivers/md/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <[email protected]>
| Link: https://lore.kernel.org/oe-kbuild-all/[email protected]/
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?
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
reply other threads:[~2023-02-12 2:08 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 \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox