[PATCH 2/2] staging: lustre: lnet: lnet: trailing statements should be on next line

2015-01-14 Thread Balavasu
This patch fixes the checkpatch.pl issue
Error: trailing statements should be on next line

Signed-off-by: Balavasu 
---
 drivers/staging/lustre/lnet/lnet/router.c | 9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/lustre/lnet/lnet/router.c 
b/drivers/staging/lustre/lnet/lnet/router.c
index cdeb246..0f569a0 100644
--- a/drivers/staging/lustre/lnet/lnet/router.c
+++ b/drivers/staging/lustre/lnet/lnet/router.c
@@ -1670,13 +1670,16 @@ lnet_get_tunables (void)
char *s;
 
s = getenv("LNET_ROUTER_PING_TIMEOUT");
-   if (s != NULL) router_ping_timeout = atoi(s);
+   if (s != NULL)
+   router_ping_timeout = atoi(s);
 
s = getenv("LNET_LIVE_ROUTER_CHECK_INTERVAL");
-   if (s != NULL) live_router_check_interval = atoi(s);
+   if (s != NULL)
+   live_router_check_interval = atoi(s);
 
s = getenv("LNET_DEAD_ROUTER_CHECK_INTERVAL");
-   if (s != NULL) dead_router_check_interval = atoi(s);
+   if (s != NULL)
+   dead_router_check_interval = atoi(s);
 
/* This replaces old lnd_notify mechanism */
check_routers_before_use = 1;
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 2/2] staging: lustre: lnet: lnet: trailing statements should be on next line

2015-01-14 Thread Balavasu
This patch fixes the checkpatch.pl issue
Error: trailing statements should be on next line

Signed-off-by: Balavasu kp.balav...@gmail.com
---
 drivers/staging/lustre/lnet/lnet/router.c | 9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/lustre/lnet/lnet/router.c 
b/drivers/staging/lustre/lnet/lnet/router.c
index cdeb246..0f569a0 100644
--- a/drivers/staging/lustre/lnet/lnet/router.c
+++ b/drivers/staging/lustre/lnet/lnet/router.c
@@ -1670,13 +1670,16 @@ lnet_get_tunables (void)
char *s;
 
s = getenv(LNET_ROUTER_PING_TIMEOUT);
-   if (s != NULL) router_ping_timeout = atoi(s);
+   if (s != NULL)
+   router_ping_timeout = atoi(s);
 
s = getenv(LNET_LIVE_ROUTER_CHECK_INTERVAL);
-   if (s != NULL) live_router_check_interval = atoi(s);
+   if (s != NULL)
+   live_router_check_interval = atoi(s);
 
s = getenv(LNET_DEAD_ROUTER_CHECK_INTERVAL);
-   if (s != NULL) dead_router_check_interval = atoi(s);
+   if (s != NULL)
+   dead_router_check_interval = atoi(s);
 
/* This replaces old lnd_notify mechanism */
check_routers_before_use = 1;
-- 
1.9.1

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 2/2] staging: lustre: lnet: lnet: trailing statements should be on next line

2014-11-23 Thread Balavasu kuppusammyprathaban
This patch fixes the checkpatch.pl issue
Error: trailing statements should be on next line

Signed-off-by: Balavasu kuppusammyprathaban
---
 drivers/staging/lustre/lnet/lnet/router.c | 9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/lustre/lnet/lnet/router.c 
b/drivers/staging/lustre/lnet/lnet/router.c
index cdeb246..0f569a0 100644
--- a/drivers/staging/lustre/lnet/lnet/router.c
+++ b/drivers/staging/lustre/lnet/lnet/router.c
@@ -1670,13 +1670,16 @@ lnet_get_tunables (void)
char *s;
 
s = getenv("LNET_ROUTER_PING_TIMEOUT");
-   if (s != NULL) router_ping_timeout = atoi(s);
+   if (s != NULL)
+   router_ping_timeout = atoi(s);
 
s = getenv("LNET_LIVE_ROUTER_CHECK_INTERVAL");
-   if (s != NULL) live_router_check_interval = atoi(s);
+   if (s != NULL)
+   live_router_check_interval = atoi(s);
 
s = getenv("LNET_DEAD_ROUTER_CHECK_INTERVAL");
-   if (s != NULL) dead_router_check_interval = atoi(s);
+   if (s != NULL)
+   dead_router_check_interval = atoi(s);
 
/* This replaces old lnd_notify mechanism */
check_routers_before_use = 1;
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 2/2] staging: lustre: lnet: lnet: trailing statements should be on next line

2014-11-23 Thread Balavasu
This patch fixes the checkpatch.pl issue
Error: trailing statements should be on next line

Signed-off-by: Balavasu 
---
 drivers/staging/lustre/lnet/lnet/router.c | 9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/lustre/lnet/lnet/router.c 
b/drivers/staging/lustre/lnet/lnet/router.c
index cdeb246..0f569a0 100644
--- a/drivers/staging/lustre/lnet/lnet/router.c
+++ b/drivers/staging/lustre/lnet/lnet/router.c
@@ -1670,13 +1670,16 @@ lnet_get_tunables (void)
char *s;
 
s = getenv("LNET_ROUTER_PING_TIMEOUT");
-   if (s != NULL) router_ping_timeout = atoi(s);
+   if (s != NULL)
+   router_ping_timeout = atoi(s);
 
s = getenv("LNET_LIVE_ROUTER_CHECK_INTERVAL");
-   if (s != NULL) live_router_check_interval = atoi(s);
+   if (s != NULL)
+   live_router_check_interval = atoi(s);
 
s = getenv("LNET_DEAD_ROUTER_CHECK_INTERVAL");
-   if (s != NULL) dead_router_check_interval = atoi(s);
+   if (s != NULL)
+   dead_router_check_interval = atoi(s);
 
/* This replaces old lnd_notify mechanism */
check_routers_before_use = 1;
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 2/2] staging: lustre: lnet: lnet: trailing statements should be on next line

2014-11-23 Thread Balavasu
This patch fixes the checkpatch.pl issue
Error: trailing statements should be on next line

Signed-off-by: Balavasu kp.balav...@gmail.com
---
 drivers/staging/lustre/lnet/lnet/router.c | 9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/lustre/lnet/lnet/router.c 
b/drivers/staging/lustre/lnet/lnet/router.c
index cdeb246..0f569a0 100644
--- a/drivers/staging/lustre/lnet/lnet/router.c
+++ b/drivers/staging/lustre/lnet/lnet/router.c
@@ -1670,13 +1670,16 @@ lnet_get_tunables (void)
char *s;
 
s = getenv(LNET_ROUTER_PING_TIMEOUT);
-   if (s != NULL) router_ping_timeout = atoi(s);
+   if (s != NULL)
+   router_ping_timeout = atoi(s);
 
s = getenv(LNET_LIVE_ROUTER_CHECK_INTERVAL);
-   if (s != NULL) live_router_check_interval = atoi(s);
+   if (s != NULL)
+   live_router_check_interval = atoi(s);
 
s = getenv(LNET_DEAD_ROUTER_CHECK_INTERVAL);
-   if (s != NULL) dead_router_check_interval = atoi(s);
+   if (s != NULL)
+   dead_router_check_interval = atoi(s);
 
/* This replaces old lnd_notify mechanism */
check_routers_before_use = 1;
-- 
1.9.1

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 2/2] staging: lustre: lnet: lnet: trailing statements should be on next line

2014-11-23 Thread Balavasu kuppusammyprathaban
This patch fixes the checkpatch.pl issue
Error: trailing statements should be on next line

Signed-off-by: Balavasu kuppusammyprathabankp.balav...@gmail.com
---
 drivers/staging/lustre/lnet/lnet/router.c | 9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/lustre/lnet/lnet/router.c 
b/drivers/staging/lustre/lnet/lnet/router.c
index cdeb246..0f569a0 100644
--- a/drivers/staging/lustre/lnet/lnet/router.c
+++ b/drivers/staging/lustre/lnet/lnet/router.c
@@ -1670,13 +1670,16 @@ lnet_get_tunables (void)
char *s;
 
s = getenv(LNET_ROUTER_PING_TIMEOUT);
-   if (s != NULL) router_ping_timeout = atoi(s);
+   if (s != NULL)
+   router_ping_timeout = atoi(s);
 
s = getenv(LNET_LIVE_ROUTER_CHECK_INTERVAL);
-   if (s != NULL) live_router_check_interval = atoi(s);
+   if (s != NULL)
+   live_router_check_interval = atoi(s);
 
s = getenv(LNET_DEAD_ROUTER_CHECK_INTERVAL);
-   if (s != NULL) dead_router_check_interval = atoi(s);
+   if (s != NULL)
+   dead_router_check_interval = atoi(s);
 
/* This replaces old lnd_notify mechanism */
check_routers_before_use = 1;
-- 
1.9.1

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 2/2] staging: lustre: lnet: lnet: trailing statements should be on next line

2014-10-31 Thread Greg KH
On Fri, Oct 31, 2014 at 11:50:40PM +0530, Balavasu wrote:
> This patch fixes the checkpatch.pl issue
> Error: trailing statements should be on next line
> 
> Signed-off-by: Balavasu 
> ---
>  drivers/staging/lustre/lnet/lnet/router.c | 9 ++---
>  1 file changed, 6 insertions(+), 3 deletions(-)

Same comments as 1/2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 2/2] staging: lustre: lnet: lnet: trailing statements should be on next line

2014-10-31 Thread Balavasu
This patch fixes the checkpatch.pl issue
Error: trailing statements should be on next line

Signed-off-by: Balavasu 
---
 drivers/staging/lustre/lnet/lnet/router.c | 9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/lustre/lnet/lnet/router.c 
b/drivers/staging/lustre/lnet/lnet/router.c
index cdeb246..0f569a0 100644
--- a/drivers/staging/lustre/lnet/lnet/router.c
+++ b/drivers/staging/lustre/lnet/lnet/router.c
@@ -1670,13 +1670,16 @@ lnet_get_tunables (void)
char *s;
 
s = getenv("LNET_ROUTER_PING_TIMEOUT");
-   if (s != NULL) router_ping_timeout = atoi(s);
+   if (s != NULL)
+   router_ping_timeout = atoi(s);
 
s = getenv("LNET_LIVE_ROUTER_CHECK_INTERVAL");
-   if (s != NULL) live_router_check_interval = atoi(s);
+   if (s != NULL)
+   live_router_check_interval = atoi(s);
 
s = getenv("LNET_DEAD_ROUTER_CHECK_INTERVAL");
-   if (s != NULL) dead_router_check_interval = atoi(s);
+   if (s != NULL)
+   dead_router_check_interval = atoi(s);
 
/* This replaces old lnd_notify mechanism */
check_routers_before_use = 1;
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 2/2] staging: lustre: lnet: lnet: trailing statements should be on next line

2014-10-31 Thread Balavasu
This patch fixes the checkpatch.pl issue
Error: trailing statements should be on next line

Signed-off-by: Balavasu kp.balav...@gmail.com
---
 drivers/staging/lustre/lnet/lnet/router.c | 9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/lustre/lnet/lnet/router.c 
b/drivers/staging/lustre/lnet/lnet/router.c
index cdeb246..0f569a0 100644
--- a/drivers/staging/lustre/lnet/lnet/router.c
+++ b/drivers/staging/lustre/lnet/lnet/router.c
@@ -1670,13 +1670,16 @@ lnet_get_tunables (void)
char *s;
 
s = getenv(LNET_ROUTER_PING_TIMEOUT);
-   if (s != NULL) router_ping_timeout = atoi(s);
+   if (s != NULL)
+   router_ping_timeout = atoi(s);
 
s = getenv(LNET_LIVE_ROUTER_CHECK_INTERVAL);
-   if (s != NULL) live_router_check_interval = atoi(s);
+   if (s != NULL)
+   live_router_check_interval = atoi(s);
 
s = getenv(LNET_DEAD_ROUTER_CHECK_INTERVAL);
-   if (s != NULL) dead_router_check_interval = atoi(s);
+   if (s != NULL)
+   dead_router_check_interval = atoi(s);
 
/* This replaces old lnd_notify mechanism */
check_routers_before_use = 1;
-- 
1.9.1

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 2/2] staging: lustre: lnet: lnet: trailing statements should be on next line

2014-10-31 Thread Greg KH
On Fri, Oct 31, 2014 at 11:50:40PM +0530, Balavasu wrote:
 This patch fixes the checkpatch.pl issue
 Error: trailing statements should be on next line
 
 Signed-off-by: Balavasu kp.balav...@gmail.com
 ---
  drivers/staging/lustre/lnet/lnet/router.c | 9 ++---
  1 file changed, 6 insertions(+), 3 deletions(-)

Same comments as 1/2
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/