PATCH] ocfs2/cluster: trim a trailing white space
diff mbox

Message ID 63ADC13FD55D6546B7DECE290D39E373CED3448B@H3CMLB12-EX.srv.huawei-3com.com
State New
Headers show

Commit Message

Changwei Ge Sept. 2, 2017, 3:59 a.m. UTC
Hi,

We'd better not add a white space at the tail of a line, so trim it!

Thanks,
Changwei

Signed-off-by: Changwei Ge <ge.changwei@h3c.com>
---
  fs/ocfs2/cluster/tcp.c |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
  mode change 100644 => 100755 fs/ocfs2/cluster/tcp.c

Comments

Gang He Sept. 13, 2017, 7:26 a.m. UTC | #1
>>> 
> Hi,
> 
> We'd better not add a white space at the tail of a line, so trim it!
> 
> Thanks,
> Changwei
> 
> Signed-off-by: Changwei Ge <ge.changwei@h3c.com>
> ---
>   fs/ocfs2/cluster/tcp.c |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>   mode change 100644 => 100755 fs/ocfs2/cluster/tcp.c
> 
> diff --git a/fs/ocfs2/cluster/tcp.c b/fs/ocfs2/cluster/tcp.c
> old mode 100644
> new mode 100755
> index 8d77922..a9b7811
> --- a/fs/ocfs2/cluster/tcp.c
> +++ b/fs/ocfs2/cluster/tcp.c
> @@ -2054,7 +2054,7 @@ static int o2net_open_listening_sock(__be32 addr, 
> __be16 port)
>   	ret = sock->ops->bind(sock, (struct sockaddr *)&sin, sizeof(sin));
>   	if (ret < 0) {
>   		printk(KERN_ERR "o2net: Error %d while binding socket at "
> -		       "%pI4:%u\n", ret, &addr, ntohs(port));
> +		       "%pI4:%u\n", ret, &addr, ntohs(port));
>   		goto out;
>   	}
> 
> -- 
> 1.7.9.5

Reviewed-by: He Gang <ghe@suse.com>
Thanks
Gang

Patch
diff mbox

diff --git a/fs/ocfs2/cluster/tcp.c b/fs/ocfs2/cluster/tcp.c
old mode 100644
new mode 100755
index 8d77922..a9b7811
--- a/fs/ocfs2/cluster/tcp.c
+++ b/fs/ocfs2/cluster/tcp.c
@@ -2054,7 +2054,7 @@  static int o2net_open_listening_sock(__be32 addr, 
__be16 port)
  	ret = sock->ops->bind(sock, (struct sockaddr *)&sin, sizeof(sin));
  	if (ret < 0) {
  		printk(KERN_ERR "o2net: Error %d while binding socket at "
-		       "%pI4:%u\n", ret, &addr, ntohs(port));
+		       "%pI4:%u\n", ret, &addr, ntohs(port));
  		goto out;
  	}