2019-09-26 09:31:05

by Colin King

[permalink] [raw]
Subject: [PATCH] sunrpc: clean up indentation issue

From: Colin Ian King <[email protected]>

There are statements that are indented incorrectly, remove the
extraneous spacing.

Signed-off-by: Colin Ian King <[email protected]>
---
net/sunrpc/svc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c
index 220b79988000..d11b70552c33 100644
--- a/net/sunrpc/svc.c
+++ b/net/sunrpc/svc.c
@@ -1233,8 +1233,8 @@ svc_generic_init_request(struct svc_rqst *rqstp,

if (rqstp->rq_vers >= progp->pg_nvers )
goto err_bad_vers;
- versp = progp->pg_vers[rqstp->rq_vers];
- if (!versp)
+ versp = progp->pg_vers[rqstp->rq_vers];
+ if (!versp)
goto err_bad_vers;

/*
--
2.20.1


2019-09-26 09:36:01

by J. Bruce Fields

[permalink] [raw]
Subject: Re: [PATCH] sunrpc: clean up indentation issue

Applied, thanks.--b.

On Wed, Sep 25, 2019 at 02:09:30PM +0100, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> There are statements that are indented incorrectly, remove the
> extraneous spacing.
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> net/sunrpc/svc.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c
> index 220b79988000..d11b70552c33 100644
> --- a/net/sunrpc/svc.c
> +++ b/net/sunrpc/svc.c
> @@ -1233,8 +1233,8 @@ svc_generic_init_request(struct svc_rqst *rqstp,
>
> if (rqstp->rq_vers >= progp->pg_nvers )
> goto err_bad_vers;
> - versp = progp->pg_vers[rqstp->rq_vers];
> - if (!versp)
> + versp = progp->pg_vers[rqstp->rq_vers];
> + if (!versp)
> goto err_bad_vers;
>
> /*
> --
> 2.20.1