From: kernel test robot <lkp@intel.com>
To: Xiaoming Ni <nixiaoming@huawei.com>,
linux-kernel@vger.kernel.org, phillip@squashfs.org.uk
Cc: kbuild-all@lists.01.org, nixiaoming@huawei.com,
wangle6@huawei.com, yi.zhang@huawei.com, wangbing6@huawei.com,
zhongjubin@huawei.com, chenjianguo3@huawei.com
Subject: Re: [PATCH 1/2] squashfs: add the mount parameter theads=<single|multi|percpu>
Date: Mon, 15 Aug 2022 19:19:02 +0800 [thread overview]
Message-ID: <202208151921.Y0vJnA6c-lkp@intel.com> (raw)
In-Reply-To: <20220815031100.75243-2-nixiaoming@huawei.com>
Hi Xiaoming,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on v6.0-rc1]
[also build test WARNING on linus/master next-20220815]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Xiaoming-Ni/squashfs-Add-the-mount-parameter-threads/20220815-111318
base: 568035b01cfb107af8d2e4bd2fb9aea22cf5b868
config: sparc-randconfig-s042-20220814 (https://download.01.org/0day-ci/archive/20220815/202208151921.Y0vJnA6c-lkp@intel.com/config)
compiler: sparc-linux-gcc (GCC) 12.1.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.4-39-gce1a6720-dirty
# https://github.com/intel-lab-lkp/linux/commit/dcb72eaed7732d884148ce37d23442956296d0d6
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Xiaoming-Ni/squashfs-Add-the-mount-parameter-threads/20220815-111318
git checkout dcb72eaed7732d884148ce37d23442956296d0d6
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=sparc SHELL=/bin/bash fs/squashfs/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
>> fs/squashfs/decompressor_multi_percpu.c:85:18: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void const [noderef] __percpu *__vpp_verify @@ got void * @@
fs/squashfs/decompressor_multi_percpu.c:85:18: sparse: expected void const [noderef] __percpu *__vpp_verify
fs/squashfs/decompressor_multi_percpu.c:85:18: sparse: got void *
fs/squashfs/decompressor_multi_percpu.c:86:9: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void const [noderef] __percpu *__vpp_verify @@ got struct local_lock_t * @@
fs/squashfs/decompressor_multi_percpu.c:86:9: sparse: expected void const [noderef] __percpu *__vpp_verify
fs/squashfs/decompressor_multi_percpu.c:86:9: sparse: got struct local_lock_t *
fs/squashfs/decompressor_multi_percpu.c:91:9: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void const [noderef] __percpu *__vpp_verify @@ got struct local_lock_t * @@
fs/squashfs/decompressor_multi_percpu.c:91:9: sparse: expected void const [noderef] __percpu *__vpp_verify
fs/squashfs/decompressor_multi_percpu.c:91:9: sparse: got struct local_lock_t *
vim +85 fs/squashfs/decompressor_multi_percpu.c
d208383d640727 Phillip Lougher 2013-11-18 77
dcb72eaed7732d Xiaoming Ni 2022-08-15 78 static int squashfs_decompress_percpu(struct squashfs_sb_info *msblk, struct bio *bio,
93e72b3c612adc Philippe Liard 2020-06-01 79 int offset, int length, struct squashfs_page_actor *output)
d208383d640727 Phillip Lougher 2013-11-18 80 {
dcb72eaed7732d Xiaoming Ni 2022-08-15 81 struct squashfs_stream_percpu *stream;
fd56200a16c72c Julia Cartwright 2020-05-27 82 int res;
fd56200a16c72c Julia Cartwright 2020-05-27 83
dcb72eaed7732d Xiaoming Ni 2022-08-15 84 preempt_disable();
fd56200a16c72c Julia Cartwright 2020-05-27 @85 stream = this_cpu_ptr(msblk->stream);
dcb72eaed7732d Xiaoming Ni 2022-08-15 86 local_lock(&stream->lock);
fd56200a16c72c Julia Cartwright 2020-05-27 87
93e72b3c612adc Philippe Liard 2020-06-01 88 res = msblk->decompressor->decompress(msblk, stream->stream, bio,
846b730e99518a Phillip Lougher 2013-11-18 89 offset, length, output);
fd56200a16c72c Julia Cartwright 2020-05-27 90
dcb72eaed7732d Xiaoming Ni 2022-08-15 91 local_unlock(&stream->lock);
dcb72eaed7732d Xiaoming Ni 2022-08-15 92 preempt_enable();
d208383d640727 Phillip Lougher 2013-11-18 93
d208383d640727 Phillip Lougher 2013-11-18 94 if (res < 0)
d208383d640727 Phillip Lougher 2013-11-18 95 ERROR("%s decompression failed, data probably corrupt\n",
d208383d640727 Phillip Lougher 2013-11-18 96 msblk->decompressor->name);
d208383d640727 Phillip Lougher 2013-11-18 97
d208383d640727 Phillip Lougher 2013-11-18 98 return res;
d208383d640727 Phillip Lougher 2013-11-18 99 }
d208383d640727 Phillip Lougher 2013-11-18 100
--
0-DAY CI Kernel Test Service
https://01.org/lkp
next prev parent reply other threads:[~2022-08-15 11:19 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-15 3:10 [PATCH 0/2] squashfs: Add the mount parameter "threads=" Xiaoming Ni
2022-08-15 3:10 ` [PATCH 1/2] squashfs: add the mount parameter theads=<single|multi|percpu> Xiaoming Ni
2022-08-15 11:19 ` kernel test robot [this message]
2022-08-15 3:11 ` [PATCH 2/2] squashfs: Allows users to configure the number of decompression threads Xiaoming Ni
2022-08-16 1:00 ` [PATCH v2 0/2] squashfs: Add the mount parameter "threads=" Xiaoming Ni
2022-08-16 1:00 ` [PATCH v2 1/2] squashfs: add the mount parameter theads=<single|multi|percpu> Xiaoming Ni
2022-08-16 1:00 ` [PATCH v2 2/2] squashfs: Allows users to configure the number of decompression threads Xiaoming Ni
2022-08-26 6:19 ` ping //Re: [PATCH v2 0/2] squashfs: Add the mount parameter "threads=" Xiaoming Ni
2022-08-28 23:18 ` Phillip Lougher
2022-08-30 13:38 ` Xiaoming Ni
2022-08-30 18:08 ` Phillip Lougher
2022-08-30 18:34 ` Phillip Lougher
2022-08-31 1:09 ` Xiaoming Ni
2022-09-02 9:48 ` [PATCH v3 " Xiaoming Ni
2022-09-02 9:48 ` [PATCH v3 1/2] squashfs: add the mount parameter theads=<single|multi|percpu> Xiaoming Ni
2022-09-09 15:44 ` Phillip Lougher
2022-09-13 2:46 ` Xiaoming Ni
2022-09-09 15:50 ` Phillip Lougher
2022-09-13 2:47 ` Xiaoming Ni
2022-09-02 9:48 ` [PATCH v3 2/2] squashfs: Allows users to configure the number of decompression threads Xiaoming Ni
2022-09-09 15:26 ` [PATCH v3 0/2] squashfs: Add the mount parameter "threads=" Phillip Lougher
2022-09-16 8:36 ` [PATCH v4 " Xiaoming Ni
2022-09-16 8:36 ` [PATCH v4 1/2] squashfs: add the mount parameter theads=<single|multi|percpu> Xiaoming Ni
2022-09-28 2:20 ` Phillip Lougher
2022-09-28 3:06 ` Xiaoming Ni
2022-09-16 8:36 ` [PATCH v4 2/2] squashfs: Allows users to configure the number of decompression threads Xiaoming Ni
2022-09-27 1:05 ` ping //Re: [PATCH v4 0/2] squashfs: Add the mount parameter "threads=" Xiaoming Ni
2022-09-30 9:14 ` [PATCH v5 " Xiaoming Ni
2022-09-30 9:14 ` [PATCH v5 1/2] squashfs: add the mount parameter theads=<single|multi|percpu> Xiaoming Ni
2022-10-17 21:58 ` Re " Phillip Lougher
2022-09-30 9:14 ` [PATCH v5 2/2] squashfs: Allows users to configure the number of decompression threads Xiaoming Ni
2022-10-17 0:57 ` ping// Re: [PATCH v5 0/2] squashfs: Add the mount parameter "threads=" Xiaoming Ni
2022-10-17 22:59 ` Phillip Lougher
2022-10-18 6:24 ` Xiaoming Ni
2022-10-19 3:09 ` [PATCH v6 " Xiaoming Ni
2022-10-19 3:09 ` [PATCH v6 1/2] squashfs: add the mount parameter theads=<single|multi|percpu> Xiaoming Ni
2022-10-19 3:09 ` [PATCH v6 2/2] squashfs: Allows users to configure the number of decompression threads Xiaoming Ni
2022-10-27 22:44 ` [PATCH v6 0/2] squashfs: Add the mount parameter "threads=" Phillip Lougher
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=202208151921.Y0vJnA6c-lkp@intel.com \
--to=lkp@intel.com \
--cc=chenjianguo3@huawei.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nixiaoming@huawei.com \
--cc=phillip@squashfs.org.uk \
--cc=wangbing6@huawei.com \
--cc=wangle6@huawei.com \
--cc=yi.zhang@huawei.com \
--cc=zhongjubin@huawei.com \
/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
all inboxes | Powered by JetHome®