Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

codafs: fix build warning

powerpc:

fs/coda/coda_linux.c: In function 'coda_iattr_to_vattr':
fs/coda/coda_linux.c:137: warning: large integer implicitly truncated to unsigned type

Cc: Jan Harkes <jaharkes@cs.cmu.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Andrew Morton and committed by
Linus Torvalds
a2d416dc 7afea3bc

+1 -1
+1 -1
fs/coda/coda_linux.c
··· 134 134 unsigned int valid; 135 135 136 136 /* clean out */ 137 - vattr->va_mode = (umode_t) -1; 137 + vattr->va_mode = -1; 138 138 vattr->va_uid = (vuid_t) -1; 139 139 vattr->va_gid = (vgid_t) -1; 140 140 vattr->va_size = (off_t) -1;