Re: [PATCH] Alpha: Fix a missing comma in sys_osf_statfs()

Previous thread: [PATCH] scatterlist: prevent invalid free when alloc fails by Jeffrey Carlyle on Thursday, August 26, 2010 - 9:04 am. (16 messages)

Next thread: Re: [RFC PATCH 0/3] Do not wait the full timeout on congestion_wait when there is no congestion by Minchan Kim on Thursday, August 26, 2010 - 10:20 am. (9 messages)
From: David Howells
Date: Thursday, August 26, 2010 - 9:44 am

Fix a comma that got accidentally deleted from sys_osf_statfs() leading to the
following warning:

	arch/alpha/kernel/osf_sys.c: In function 'SYSC_osf_statfs':
	arch/alpha/kernel/osf_sys.c:255: error: syntax error before 'buffer'

Signed-off-by: David Howells <dhowells@redhat.com>
---

 arch/alpha/kernel/osf_sys.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/alpha/kernel/osf_sys.c b/arch/alpha/kernel/osf_sys.c
index fb58150..5d1e6d6 100644
--- a/arch/alpha/kernel/osf_sys.c
+++ b/arch/alpha/kernel/osf_sys.c
@@ -252,7 +252,7 @@ SYSCALL_DEFINE3(osf_statfs, const char __user *, pathname,
 
 	retval = user_path(pathname, &path);
 	if (!retval) {
-		retval = do_osf_statfs(&path buffer, bufsiz);
+		retval = do_osf_statfs(&path, buffer, bufsiz);
 		path_put(&path);
 	}
 	return retval;

--

From: Matt Turner
Date: Thursday, August 26, 2010 - 11:21 am

Thanks, but Michael Cree already sent an identical patch. I've just
been slow to vacuum it up and send it on to Linus. I'll do this ASAP.

Matt
--

Previous thread: [PATCH] scatterlist: prevent invalid free when alloc fails by Jeffrey Carlyle on Thursday, August 26, 2010 - 9:04 am. (16 messages)

Next thread: Re: [RFC PATCH 0/3] Do not wait the full timeout on congestion_wait when there is no congestion by Minchan Kim on Thursday, August 26, 2010 - 10:20 am. (9 messages)