Re: [PATCH] btrfs: pass checksum type via BTRFS_IOC_FS_INFO ioctl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 24/06/2020 17:40, David Sterba wrote:
> 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.
> 

Yeah, already fixed locally.




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux