looks like the prototype for fat_get_cluster (in cache.c) should be
in msdos_fs.h?
This one I haven't figured out yet:
spls7:/usr/src/linux/fs/vfat# gcc -D__KERNEL__ -I/usr/src/linux-2.1/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486
-malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o namei.o namei.c 2>&1
namei.c:324: warning: `struct slot_info' declared inside parameter list
namei.c:324: warning: its scope is only this definition or declaration,
namei.c:324: warning: which is probably not what you want.
namei.c: In function `vfat_create_shortname':
namei.c:522: storage size of `sinfo' isn't known
namei.c:522: warning: unused variable `sinfo'
namei.c: At top level:
namei.c:995: warning: `struct slot_info' declared inside parameter list
namei.c:996: conflicting types for `vfat_find'
namei.c:324: previous declaration of `vfat_find'
namei.c: In function `vfat_find':
namei.c:1030: dereferencing pointer to incomplete type
namei.c:1031: dereferencing pointer to incomplete type
namei.c:1032: dereferencing pointer to incomplete type
namei.c:1033: dereferencing pointer to incomplete type
namei.c:1034: dereferencing pointer to incomplete type
namei.c:1035: dereferencing pointer to incomplete type
namei.c:1069: dereferencing pointer to incomplete type
namei.c:1070: dereferencing pointer to incomplete type
namei.c:1070: dereferencing pointer to incomplete type
namei.c:1072: dereferencing pointer to incomplete type
namei.c:1099: dereferencing pointer to incomplete type
namei.c:1100: dereferencing pointer to incomplete type
namei.c:1101: dereferencing pointer to incomplete type
namei.c:1103: dereferencing pointer to incomplete type
namei.c:1105: dereferencing pointer to incomplete type
namei.c:1106: dereferencing pointer to incomplete type
namei.c:1107: dereferencing pointer to incomplete type
namei.c: In function `vfat_lookup':
namei.c:1121: storage size of `sinfo' isn't known
namei.c:1121: warning: unused variable `sinfo'
namei.c: In function `vfat_create_entry':
namei.c:1165: storage size of `sinfo' isn't known
namei.c:1165: warning: unused variable `sinfo'
namei.c: At top level:
namei.c:1393: warning: `struct slot_info' declared inside parameter list
namei.c: In function `vfat_remove_entry':
namei.c:1401: dereferencing pointer to incomplete type
namei.c:1412: dereferencing pointer to incomplete type
namei.c:1413: dereferencing pointer to incomplete type
namei.c:1398: warning: `i' might be used uninitialized in this function
namei.c: In function `vfat_rmdirx':
namei.c:1431: storage size of `sinfo' isn't known
namei.c:1431: warning: unused variable `sinfo'
namei.c: In function `vfat_unlinkx':
namei.c:1466: storage size of `sinfo' isn't known
namei.c:1466: warning: unused variable `sinfo'
namei.c: In function `vfat_rename':
namei.c:1543: storage size of `sinfo' isn't known
namei.c:1543: warning: unused variable `sinfo'
namei.c:1538: warning: `old_slots' might be used uninitialized in this function
namei.c:1538: warning: `old_ino' might be used uninitialized in this function
namei.c:1538: warning: `new_ino' might be used uninitialized in this function
spls7:/usr/src/linux/fs/vfat#
--todd--