Re: misc: quiet llvm build warnings

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

 



On Fri, Aug 25, 2017 at 11:14:41PM -0600, Andreas Dilger wrote:
> Quiet some relatively harmless build warnings:
> 
> mkquota.c:527:15: warning: format specifies type 'long' but the
> 	argument has type 'qsize_t' (aka 'long long') [-Wformat]
> 		dq->dq_id, dq->dq_dqb.dqb_curspace,
> 			   ^~~~~~~~~~~~~~~~~~~~~~~
> 
> tune2fs.c:928:18: warning: '&&' within '||' [-Wlogical-op-parentheses]
> 	if (pass == 1 && (inode->i_flags & EXT4_EA_INODE_FL) ||
> 	    ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~
> tune2fs.c:928:18: place parentheses around '&&' to silence warning
> 
> Signed-off-by: Andreas Dilger <adilger@xxxxxxxxx>

The mkquota.c is already fixed on the maint branch, but I've applied
the tune2fs fix to the master/next branch.

Thanks,

					- Ted



[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux