lkml.org 
[lkml]   [2004]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectwarning: comparison is always false due to limited range of data type
2.6.8-rc3

CC fs/smbfs/inode.o
fs/smbfs/inode.c: In function `smb_fill_super':
fs/smbfs/inode.c:563: warning: comparison is always false due to limited
range of data type
fs/smbfs/inode.c:564: warning: comparison is always false due to limited
range of data type

559 mnt->ttl = SMB_TTL_DEFAULT;
560 if (ver == SMB_MOUNT_OLDVERSION) {
561 mnt->version = oldmnt->version;
562
563 SET_UID(mnt->uid, oldmnt->uid);
564 SET_GID(mnt->gid, oldmnt->gid);
565
566 mnt->file_mode = (oldmnt->file_mode & S_IRWXUGO)
| S_IFREG;
567 mnt->dir_mode = (oldmnt->dir_mode & S_IRWXUGO) |
S_IFDIR;
568
569 mnt->flags = (oldmnt->file_mode >> 9);
570 } else {
571 if (parse_options(mnt, raw_data))
572 goto out_bad_option;
573 }

begin:vcard
fn:David Ford
n:Ford;David
email;internet:david@blue-labs.org
title:Industrial Geek
tel;home:Ask please
tel;cell:(203) 650-3611
x-mozilla-html:TRUE
version:2.1
end:vcard

\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.063 / U:0.964 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site