2010-08-16 08:18:38

by Michael Cree

[permalink] [raw]
Subject: [PATCH] alpha: Fix compile error due to typo in call of do_osf_statfs()

Typo, i.e., missing comma in argument list of call of do_osf_statfs(),
was introduced by commit ebabe9a9001af0af56c0c2780ca1576246e7a74b.

Signed-off-by: Michael Cree <[email protected]>
---
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;
--
1.7.1


2010-08-16 13:07:12

by Matt Turner

[permalink] [raw]
Subject: Re: [PATCH] alpha: Fix compile error due to typo in call of do_osf_statfs()

On Mon, Aug 16, 2010 at 4:18 AM, Michael Cree <[email protected]> wrote:
> Typo, i.e., missing comma in argument list of call of do_osf_statfs(),
> was introduced by commit ebabe9a9001af0af56c0c2780ca1576246e7a74b.
>
> Signed-off-by: Michael Cree <[email protected]>
> ---
> ?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;
> --
> 1.7.1

Thanks Michael. Will apply.