diff mbox

rose: cleanup checkpatch errors,spaces required

Message ID 1387425317-8900-1-git-send-email-chenweilong@huawei.com
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

chenweilong Dec. 19, 2013, 3:55 a.m. UTC
From: Weilong Chen <chenweilong@huawei.com>

This patch add spaces to cleanup checkpatch errors.

Signed-off-by: Weilong Chen <chenweilong@huawei.com>
---
 net/rose/af_rose.c  | 2 +-
 net/rose/rose_dev.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

David Miller Dec. 22, 2013, 11:58 p.m. UTC | #1
From: Chen Weilong <chenweilong@huawei.com>
Date: Thu, 19 Dec 2013 11:55:17 +0800

> From: Weilong Chen <chenweilong@huawei.com>
> 
> This patch add spaces to cleanup checkpatch errors.
> 
> Signed-off-by: Weilong Chen <chenweilong@huawei.com>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/net/rose/af_rose.c b/net/rose/af_rose.c
index 33af772..81f94b1 100644
--- a/net/rose/af_rose.c
+++ b/net/rose/af_rose.c
@@ -1012,7 +1012,7 @@  int rose_rx_call_request(struct sk_buff *skb, struct net_device *dev, struct ros
 	make_rose->source_call   = facilities.source_call;
 	make_rose->source_ndigis = facilities.source_ndigis;
 	for (n = 0 ; n < facilities.source_ndigis ; n++)
-		make_rose->source_digis[n]= facilities.source_digis[n];
+		make_rose->source_digis[n] = facilities.source_digis[n];
 	make_rose->neighbour     = neigh;
 	make_rose->device        = dev;
 	make_rose->facilities    = facilities;
diff --git a/net/rose/rose_dev.c b/net/rose/rose_dev.c
index 28dbdb9..5000588 100644
--- a/net/rose/rose_dev.c
+++ b/net/rose/rose_dev.c
@@ -146,7 +146,7 @@  static netdev_tx_t rose_xmit(struct sk_buff *skb, struct net_device *dev)
 
 static const struct header_ops rose_header_ops = {
 	.create	= rose_header,
-	.rebuild= rose_rebuild_header,
+	.rebuild = rose_rebuild_header,
 };
 
 static const struct net_device_ops rose_netdev_ops = {