Changwei Ge
2017-Sep-02 03:59 UTC
[Ocfs2-devel] PATCH] ocfs2/cluster: trim a trailing white space
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 at 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
Gang He
2017-Sep-13 07:26 UTC
[Ocfs2-devel] PATCH] ocfs2/cluster: trim a trailing white space
>>> > 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 at 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.5Reviewed-by: He Gang <ghe at suse.com> Thanks Gang