From: "heming.zhao@suse.com" <heming.zhao@suse.com>
To: Dan Carpenter <dan.carpenter@oracle.com>,
kbuild@lists.01.org, linux-raid@vger.kernel.org, song@kernel.org
Cc: lkp@intel.com, kbuild-all@lists.01.org, guoqing.jiang@linux.dev,
xni@redhat.com
Subject: Re: [kbuild] Re: [PATCH] md/bitmap: don't set sb values if can't pass sanity check
Date: Wed, 30 Mar 2022 10:18:32 +0800 [thread overview]
Message-ID: <850f25a3-22e8-dfbd-a10e-87da116fd8d3@suse.com> (raw)
In-Reply-To: <202203260647.ZIDU6VYv-lkp@intel.com>
Thanks for the information. my mistake. need v3 patch.
On 3/29/22 21:05, Dan Carpenter wrote:
> Hi Heming,
>
> url: https://github.com/0day-ci/linux/commits/Heming-Zhao/md-bitmap-don-t-set-sb-values-if-can-t-pass-sanity-check/20220325-105426
> base: git://git.kernel.org/pub/scm/linux/kernel/git/song/md.git md-next
> config: powerpc-randconfig-m031-20220324 (https://download.01.org/0day-ci/archive/20220326/202203260647.ZIDU6VYv-lkp@intel.com/config )
> compiler: powerpc-linux-gcc (GCC) 11.2.0
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
> Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
>
> New smatch warnings:
> drivers/md/md-bitmap.c:644 md_bitmap_read_sb() error: uninitialized symbol 'chunksize'.
> drivers/md/md-bitmap.c:648 md_bitmap_read_sb() error: uninitialized symbol 'daemon_sleep'.
> drivers/md/md-bitmap.c:650 md_bitmap_read_sb() error: uninitialized symbol 'write_behind'.
>
> Old smatch warnings:
> drivers/md/md-bitmap.c:371 read_page() warn: should 'index << (12 - inode->i_blkbits)' be a 64 bit type?
> drivers/md/md-bitmap.c:2182 md_bitmap_resize() warn: should 'old_counts.chunks << old_counts.chunkshift' be a 64 bit type?
> drivers/md/md-bitmap.c:2206 md_bitmap_resize() warn: should '1 << chunkshift' be a 64 bit type?
>
> vim +/chunksize +644 drivers/md/md-bitmap.c
>
> ... ...
prev parent reply other threads:[~2022-03-30 2:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-25 2:52 [PATCH] md/bitmap: don't set sb values if can't pass sanity check Heming Zhao
2022-03-28 0:43 ` Guoqing Jiang
2022-03-29 2:37 ` heming.zhao
2022-03-29 7:00 ` Guoqing Jiang
2022-03-29 13:05 ` [kbuild] " Dan Carpenter
2022-03-30 2:18 ` heming.zhao [this message]
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=850f25a3-22e8-dfbd-a10e-87da116fd8d3@suse.com \
--to=heming.zhao@suse.com \
--cc=dan.carpenter@oracle.com \
--cc=guoqing.jiang@linux.dev \
--cc=kbuild-all@lists.01.org \
--cc=kbuild@lists.01.org \
--cc=linux-raid@vger.kernel.org \
--cc=lkp@intel.com \
--cc=song@kernel.org \
--cc=xni@redhat.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;
as well as URLs for NNTP newsgroup(s).