From: David Sterba <dsterba@suse.cz>
To: kernel test robot <lkp@intel.com>
Cc: Johannes Thumshirn <johannes.thumshirn@wdc.com>,
David Sterba <dsterba@suse.cz>,
kbuild-all@lists.01.org, linux-btrfs@vger.kernel.org
Subject: Re: [PATCH] btrfs: pass checksum type via BTRFS_IOC_FS_INFO ioctl
Date: Wed, 24 Jun 2020 17:40:06 +0200 [thread overview]
Message-ID: <20200624154006.GS27795@twin.jikos.cz> (raw)
In-Reply-To: <202006242200.sloaHMOL%lkp@intel.com>
On Wed, Jun 24, 2020 at 10:15:20PM +0800, kernel test robot wrote:
> fs/btrfs/ioctl.c:1715:17: sparse: sparse: incompatible types in comparison expression (different address spaces):
> fs/btrfs/ioctl.c:1715:17: sparse: struct rcu_string [noderef] <asn:4> *
> fs/btrfs/ioctl.c:1715:17: sparse: struct rcu_string *
> >> fs/btrfs/ioctl.c:3221:25: sparse: sparse: cast to restricted __le16
> fs/btrfs/ioctl.c:3260:40: sparse: sparse: incompatible types in comparison expression (different address spaces):
> fs/btrfs/ioctl.c:3260:40: sparse: struct rcu_string [noderef] <asn:4> *
> fs/btrfs/ioctl.c:3260:40: sparse: struct rcu_string *
>
> 3220 fi_args->csum_type =
> > 3221 le16_to_cpu(btrfs_super_csum_type(fs_info->super_copy));
The report is valid, btrfs_super_csum_type returns the data in CPU byte
order.
next prev parent reply other threads:[~2020-06-24 15:40 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-24 10:21 [PATCH] btrfs: pass checksum type via BTRFS_IOC_FS_INFO ioctl Johannes Thumshirn
2020-06-24 11:03 ` Qu Wenruo
2020-06-24 11:41 ` Johannes Thumshirn
2020-06-24 11:55 ` Qu Wenruo
2020-06-24 12:14 ` Hans van Kranenburg
2020-06-24 12:17 ` Johannes Thumshirn
2020-06-24 12:21 ` Nikolay Borisov
2020-06-24 13:01 ` Johannes Thumshirn
2020-06-24 15:36 ` David Sterba
2020-06-24 12:00 ` Nikolay Borisov
2020-06-24 12:16 ` Hans van Kranenburg
2020-06-24 12:18 ` Johannes Thumshirn
2020-06-24 14:15 ` kernel test robot
2020-06-24 15:40 ` David Sterba [this message]
2020-06-25 7:48 ` Johannes Thumshirn
2020-06-24 15:31 ` David Sterba
2020-06-25 2:26 ` Hans van Kranenburg
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=20200624154006.GS27795@twin.jikos.cz \
--to=dsterba@suse.cz \
--cc=johannes.thumshirn@wdc.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-btrfs@vger.kernel.org \
--cc=lkp@intel.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