linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ipvs: Delete some unused space characters in Kconfig
@ 2019-07-07  4:16 xianfengting221
  2019-07-10  7:29 ` Simon Horman
  0 siblings, 1 reply; 2+ messages in thread
From: xianfengting221 @ 2019-07-07  4:16 UTC (permalink / raw)
  To: wensong, horms, ja, pablo, kadlec, fw, davem
  Cc: netdev, lvs-devel, linux-kernel, Hu Haowen

From: Hu Haowen <xianfengting221@163.com>

The space characters at the end of lines are always unused and
not easy to find. This patch deleted some of them I have found
in Kconfig.

Signed-off-by: Hu Haowen <xianfengting221@163.com>
---

This is my first patch to the Linux kernel, so please forgive
me if anything went wrong.

 net/netfilter/ipvs/Kconfig | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/net/netfilter/ipvs/Kconfig b/net/netfilter/ipvs/Kconfig
index f6f1a0d..54afad5 100644
--- a/net/netfilter/ipvs/Kconfig
+++ b/net/netfilter/ipvs/Kconfig
@@ -120,7 +120,7 @@ config	IP_VS_RR
 
 	  If you want to compile it in kernel, say Y. To compile it as a
 	  module, choose M here. If unsure, say N.
- 
+
 config	IP_VS_WRR
 	tristate "weighted round-robin scheduling"
 	---help---
@@ -138,7 +138,7 @@ config	IP_VS_LC
         tristate "least-connection scheduling"
 	---help---
 	  The least-connection scheduling algorithm directs network
-	  connections to the server with the least number of active 
+	  connections to the server with the least number of active
 	  connections.
 
 	  If you want to compile it in kernel, say Y. To compile it as a
@@ -193,7 +193,7 @@ config  IP_VS_LBLCR
 	tristate "locality-based least-connection with replication scheduling"
 	---help---
 	  The locality-based least-connection with replication scheduling
-	  algorithm is also for destination IP load balancing. It is 
+	  algorithm is also for destination IP load balancing. It is
 	  usually used in cache cluster. It differs from the LBLC scheduling
 	  as follows: the load balancer maintains mappings from a target
 	  to a set of server nodes that can serve the target. Requests for
@@ -250,8 +250,8 @@ config	IP_VS_SED
 	tristate "shortest expected delay scheduling"
 	---help---
 	  The shortest expected delay scheduling algorithm assigns network
-	  connections to the server with the shortest expected delay. The 
-	  expected delay that the job will experience is (Ci + 1) / Ui if 
+	  connections to the server with the shortest expected delay. The
+	  expected delay that the job will experience is (Ci + 1) / Ui if
 	  sent to the ith server, in which Ci is the number of connections
 	  on the ith server and Ui is the fixed service rate (weight)
 	  of the ith server.
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ipvs: Delete some unused space characters in Kconfig
  2019-07-07  4:16 [PATCH] ipvs: Delete some unused space characters in Kconfig xianfengting221
@ 2019-07-10  7:29 ` Simon Horman
  0 siblings, 0 replies; 2+ messages in thread
From: Simon Horman @ 2019-07-10  7:29 UTC (permalink / raw)
  To: xianfengting221, Pablo Neira Ayuso
  Cc: wensong, ja, pablo, kadlec, fw, davem, netdev, lvs-devel, linux-kernel

On Sun, Jul 07, 2019 at 12:16:49PM +0800, xianfengting221@163.com wrote:
> From: Hu Haowen <xianfengting221@163.com>
> 
> The space characters at the end of lines are always unused and
> not easy to find. This patch deleted some of them I have found
> in Kconfig.
> 
> Signed-off-by: Hu Haowen <xianfengting221@163.com>
> ---
> 
> This is my first patch to the Linux kernel, so please forgive
> me if anything went wrong.

Acked-by: Simon Horman <horms+renesas@verge.net.au>

Thanks Hu,

this looks good to me.

Pablo, please consider this for inclusion in nf-next.

> 
>  net/netfilter/ipvs/Kconfig | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/net/netfilter/ipvs/Kconfig b/net/netfilter/ipvs/Kconfig
> index f6f1a0d..54afad5 100644
> --- a/net/netfilter/ipvs/Kconfig
> +++ b/net/netfilter/ipvs/Kconfig
> @@ -120,7 +120,7 @@ config	IP_VS_RR
>  
>  	  If you want to compile it in kernel, say Y. To compile it as a
>  	  module, choose M here. If unsure, say N.
> - 
> +
>  config	IP_VS_WRR
>  	tristate "weighted round-robin scheduling"
>  	---help---
> @@ -138,7 +138,7 @@ config	IP_VS_LC
>          tristate "least-connection scheduling"
>  	---help---
>  	  The least-connection scheduling algorithm directs network
> -	  connections to the server with the least number of active 
> +	  connections to the server with the least number of active
>  	  connections.
>  
>  	  If you want to compile it in kernel, say Y. To compile it as a
> @@ -193,7 +193,7 @@ config  IP_VS_LBLCR
>  	tristate "locality-based least-connection with replication scheduling"
>  	---help---
>  	  The locality-based least-connection with replication scheduling
> -	  algorithm is also for destination IP load balancing. It is 
> +	  algorithm is also for destination IP load balancing. It is
>  	  usually used in cache cluster. It differs from the LBLC scheduling
>  	  as follows: the load balancer maintains mappings from a target
>  	  to a set of server nodes that can serve the target. Requests for
> @@ -250,8 +250,8 @@ config	IP_VS_SED
>  	tristate "shortest expected delay scheduling"
>  	---help---
>  	  The shortest expected delay scheduling algorithm assigns network
> -	  connections to the server with the shortest expected delay. The 
> -	  expected delay that the job will experience is (Ci + 1) / Ui if 
> +	  connections to the server with the shortest expected delay. The
> +	  expected delay that the job will experience is (Ci + 1) / Ui if
>  	  sent to the ith server, in which Ci is the number of connections
>  	  on the ith server and Ui is the fixed service rate (weight)
>  	  of the ith server.
> -- 
> 2.7.4
> 
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-07-10  7:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-07  4:16 [PATCH] ipvs: Delete some unused space characters in Kconfig xianfengting221
2019-07-10  7:29 ` Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).