Re: [PATCH v2] fuse: use true,false for bool variable

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

 



On Tue, Jan 14, 2020 at 1:32 PM Zheng Bin <zhengbin13@xxxxxxxxxx> wrote:
>
> From: zhengbin <zhengbin13@xxxxxxxxxx>
>
> Fixes coccicheck warning:
>
> fs/fuse/readdir.c:335:1-19: WARNING: Assignment of 0/1 to bool variable
> fs/fuse/file.c:1398:2-19: WARNING: Assignment of 0/1 to bool variable
> fs/fuse/file.c:1400:2-20: WARNING: Assignment of 0/1 to bool variable
> fs/fuse/cuse.c:454:1-20: WARNING: Assignment of 0/1 to bool variable
> fs/fuse/cuse.c:455:1-19: WARNING: Assignment of 0/1 to bool variable
> fs/fuse/inode.c:497:2-17: WARNING: Assignment of 0/1 to bool variable
> fs/fuse/inode.c:504:2-23: WARNING: Assignment of 0/1 to bool variable
> fs/fuse/inode.c:511:2-22: WARNING: Assignment of 0/1 to bool variable
> fs/fuse/inode.c:518:2-23: WARNING: Assignment of 0/1 to bool variable
> fs/fuse/inode.c:522:2-26: WARNING: Assignment of 0/1 to bool variable
> fs/fuse/inode.c:526:2-18: WARNING: Assignment of 0/1 to bool variable
> fs/fuse/inode.c:1000:1-20: WARNING: Assignment of 0/1 to bool variable
>
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: zhengbin <zhengbin13@xxxxxxxxxx>

Thanks, applied.

Miklos



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux