mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] Fix msdos warnings
Date: 29 Aug 2001 01:09:54 +0900	[thread overview]
Message-ID: <87vgj8f9nx.fsf@devron.myhome.or.jp> (raw)

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)


                 reply	other threads:[~2001-08-28 16:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vgj8f9nx.fsf@devron.myhome.or.jp \
    --to=hirofumi@mail.parknet.co.jp \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®