lkml.org 
[lkml]   [2004]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
Date
From
SubjectRe: warning: comparison is always false due to limited range of data type
On Sat, Aug 07, 2004 at 05:41:33PM -0700, Paul Jackson wrote:
> david+challenge-response@blue-labs.org wrote:
> > 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
>
> You're lucky you're still on the cc list David - please don't use reply
> addresses that require editing.
>
> Adding Andi Kleen <ak@muc.de> to cc list - looks from the bk log that he
> might have some interest in this.

Sorry, I forgot what I changed here. At least my original
changes didn't cause warnings as far as I know. Someone else please
take care of it.

-Andi

>
> fs/smbfs/inode.c
> 1.46 03/12/01 07:04:55 ak@muc.de[torvalds] +2 -2
> UID16 fixes
>
> bk diffs -r1.45..1.46 fs/smbfs/inode.c
> ===== fs/smbfs/inode.c 1.45 vs 1.46 =====
> 554,555c554,555
> < mnt->uid = OLD_TO_NEW_UID(oldmnt->uid);
> < mnt->gid = OLD_TO_NEW_GID(oldmnt->gid);
> ---
> > SET_UID(mnt->uid, oldmnt->uid);
> > SET_GID(mnt->gid, oldmnt->gid);
>
> --
> I won't rest till it's the best ...
> Programmer, Linux Scalability
> Paul Jackson <pj@sgi.com> 1.650.933.1373
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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