Compilation warnings in fs/nfsd/vfs.c

David Woodhouse (David.Woodhouse@mvhi.com)
Thu, 21 Jan 1999 20:45:29 +0000


I think the oopsen I saw today were fixed by the patch to vfs.c which arrived
in pre8. But there are other compile warnings in the same file which concern
me....

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -g -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -DMODULE -c -o vfs.o vfs.c
vfs.c: In function `nfsd_write':
vfs.c:557: warning: `saved_cap' might be used uninitialized in this function
vfs.c: In function `nfsd_truncate':
vfs.c:762: warning: `saved_cap' might be used uninitialized in this function
vfs.c: In function `nfsd_permission':
vfs.c:1291: warning: `saved_cap' might be used uninitialized in this function

---- ---- ----
David Woodhouse David.Woodhouse@mvhi.com Office: (+44) 1223 810302
Project Leader, Process Information Systems Mobile: (+44) 976 658355
Axiom (Cambridge) Ltd., Swaffham Bulbeck, Cambridge, CB5 0NA, UK.
finger dwmw2@ferret.lmh.ox.ac.uk for PGP key.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/