* [PATCH] 2.6.9-rc1 compile fix: nfsroot.c
@ 2004-08-24 10:17 Russell King
2004-08-24 15:28 ` Kevin P. Fleming
0 siblings, 1 reply; 2+ messages in thread
From: Russell King @ 2004-08-24 10:17 UTC (permalink / raw)
To: Linux Kernel List
Here's an untested patch for this error:
fs/nfs/nfsroot.c: In function `root_nfs_get_handle':
fs/nfs/nfsroot.c:499: error: incompatible type for argument 1 of `nfs_copy_fh'
fs/nfs/nfsroot.c:499: error: incompatible type for argument 2 of `nfs_copy_fh'
diff -up -x BitKeeper -x ChangeSet -x SCCS -x _xlk -x *.orig -x *.rej orig/fs/nfs/nfsroot.c linux/fs/nfs/nfsroot.c
--- orig/fs/nfs/nfsroot.c Tue Aug 24 09:56:32 2004
+++ linux/fs/nfs/nfsroot.c Tue Aug 24 11:11:01 2004
@@ -496,7 +496,7 @@ static int __init root_nfs_get_handle(vo
printk(KERN_ERR "Root-NFS: Server returned error %d "
"while mounting %s\n", status, nfs_path);
else
- nfs_copy_fh(nfs_data.root, fh);
+ nfs_copy_fh(&nfs_data.root, &fh);
return status;
}
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] 2.6.9-rc1 compile fix: nfsroot.c
2004-08-24 10:17 [PATCH] 2.6.9-rc1 compile fix: nfsroot.c Russell King
@ 2004-08-24 15:28 ` Kevin P. Fleming
0 siblings, 0 replies; 2+ messages in thread
From: Kevin P. Fleming @ 2004-08-24 15:28 UTC (permalink / raw)
To: Russell King; +Cc: Linux Kernel List
Russell King wrote:
> Here's an untested patch for this error:
>
> fs/nfs/nfsroot.c: In function `root_nfs_get_handle':
> fs/nfs/nfsroot.c:499: error: incompatible type for argument 1 of `nfs_copy_fh'
> fs/nfs/nfsroot.c:499: error: incompatible type for argument 2 of `nfs_copy_fh'
Compiled and boot-tested here successfully.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-08-24 15:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-24 10:17 [PATCH] 2.6.9-rc1 compile fix: nfsroot.c Russell King
2004-08-24 15:28 ` Kevin P. Fleming
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox