lkml.org 
[lkml]   [2019]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v5 02/13] exfat: add super block operations
>> +{
>> + struct exfat_sb_info *sbi = sb->s_fs_info;
>> + struct exfat_mount_options *opts = &sbi->options;
>> + struct inode *root_inode;
>> + int err;
>> +
>> + if (opts->allow_utime == -1)
>> + opts->allow_utime = ~opts->fs_dmask & 0022;
>
> This throws a warning when building with W=1:
>
> CC [M] fs/exfat/super.o
> fs/exfat/super.c: In function 'exfat_fill_super':
> fs/exfat/super.c:552:24: warning: comparison is always false due to limited
> range of data type [-Wtype-limits]
> 552 | if (opts->allow_utime == -1)
> | ^~
Okay, I will fix it on next version.
Thanks for review!

\
 
 \ /
  Last update: 2019-12-06 22:56    [W:0.042 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site