* [PATCH] Fix msdos warnings
@ 2001-08-28 16:09 OGAWA Hirofumi
0 siblings, 0 replies; only message in thread
From: OGAWA Hirofumi @ 2001-08-28 16:09 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel
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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-08-28 16:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-28 16:09 [PATCH] Fix msdos warnings OGAWA Hirofumi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).