* 2.6.15.5 Compile error
@ 2006-03-01 14:49 Mark L. Fugate
2006-03-02 3:12 ` Con Kolivas
0 siblings, 1 reply; 2+ messages in thread
From: Mark L. Fugate @ 2006-03-01 14:49 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 713 bytes --]
To whom it may concern:
I received the following compile error while compiling the 2.6.15.5
kernel. My .config is attached.
Mark
CC fs/nfs/direct.o
fs/nfs/direct.c: In function ‘nfs_get_user_pages’:
fs/nfs/direct.c:110: warning: implicit declaration of function
‘nfs_free_user_pages’
fs/nfs/direct.c: At top level:
fs/nfs/direct.c:127: warning: conflicting types for ‘nfs_free_user_pages’
fs/nfs/direct.c:127: error: static declaration of ‘nfs_free_user_pages’
follows non-static declaration
fs/nfs/direct.c:110: error: previous implicit declaration of
‘nfs_free_user_pages’ was here
make[2]: *** [fs/nfs/direct.o] Error 1
make[1]: *** [fs/nfs] Error 2
make: *** [fs] Error 2
linux:/usr/src/linux-2.6.15.5
[-- Attachment #2: config.gz --]
[-- Type: application/x-gunzip, Size: 8977 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: 2.6.15.5 Compile error
2006-03-01 14:49 2.6.15.5 Compile error Mark L. Fugate
@ 2006-03-02 3:12 ` Con Kolivas
0 siblings, 0 replies; 2+ messages in thread
From: Con Kolivas @ 2006-03-02 3:12 UTC (permalink / raw)
To: Mark L. Fugate; +Cc: linux-kernel
On Thu, 2 Mar 2006 01:49 am, Mark L. Fugate wrote:
> To whom it may concern:
>
> I received the following compile error while compiling the 2.6.15.5
> kernel. My .config is attached.
That looks like a silly oversight.
Try this patch.
Cheers,
Con
---
Build fix for direct.c
Signed-off-by: Con Kolivas <kernel@kolivas.org>
fs/nfs/direct.c | 2 ++
1 file changed, 2 insertions(+)
Index: linux-2.6.15-ck5/fs/nfs/direct.c
===================================================================
--- linux-2.6.15-ck5.orig/fs/nfs/direct.c 2006-03-02 13:06:57.000000000 +1100
+++ linux-2.6.15-ck5/fs/nfs/direct.c 2006-03-02 13:55:28.000000000 +1100
@@ -73,6 +73,8 @@ struct nfs_direct_req {
error; /* any reported error */
};
+static void
+nfs_free_user_pages(struct page **pages, int npages, int do_dirty);
/**
* nfs_get_user_pages - find and set up pages underlying user's buffer
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-03-02 3:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-01 14:49 2.6.15.5 Compile error Mark L. Fugate
2006-03-02 3:12 ` Con Kolivas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox