[PATCH] Fix msdos warnings

OGAWA Hirofumi (hirofumi@mail.parknet.co.jp)
29 Aug 2001 01:09:54 +0900


Hi,

gcc -D__KERNEL__ -I/devel/src/linux/source/msdos_warning-2.4.10-pre1/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -c -o namei.o namei.c
namei.c: In function `msdos_lookup':
namei.c:237: warning: implicit declaration of function `fat_brelse'
namei.c: In function `msdos_add_entry':
namei.c:266: warning: implicit declaration of function `fat_mark_buffer_dirty'
gcc -D__KERNEL__ -I/devel/src/linux/source/msdos_warning-2.4.10-pre1/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DEXPORT_SYMTAB -c msdosfs_syms.c
rm -f msdos.o
ld -m elf_i386 -r -o msdos.o namei.o msdosfs_syms.o

The following patch fix the above warnings.
Please apply.

-- 
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>

diff -urN linux-2.4.10-pre1/fs/msdos/namei.c msdos_warning-2.4.10-pre1/fs/msdos/namei.c --- linux-2.4.10-pre1/fs/msdos/namei.c Mon Aug 13 03:13:59 2001 +++ msdos_warning-2.4.10-pre1/fs/msdos/namei.c Tue Aug 28 23:26:48 2001 @@ -17,6 +17,8 @@ #include <asm/uaccess.h> +#include "../fat/msbuffer.h" + #define MSDOS_DEBUG 0 #define PRINTK(x)

- 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/