summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWeilong Chen <chenweilong@huawei.com>2013-12-19 11:55:17 +0800
committerDavid S. Miller <davem@davemloft.net>2013-12-22 18:57:58 -0500
commitdb34de939ae28954441c18b331c2c0aafec2d6ac (patch)
tree199985c631365839326c6d17aaa0af0541d514c4
parentf482f2fcd1bd644849bd75412d589cbb40fbaa01 (diff)
downloadlinux-db34de939ae28954441c18b331c2c0aafec2d6ac.tar.gz
linux-db34de939ae28954441c18b331c2c0aafec2d6ac.tar.bz2
linux-db34de939ae28954441c18b331c2c0aafec2d6ac.zip
rose: cleanup checkpatch errors,spaces required
This patch add spaces to cleanup checkpatch errors. Signed-off-by: Weilong Chen <chenweilong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/rose/af_rose.c2
-rw-r--r--net/rose/rose_dev.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/rose/af_rose.c b/net/rose/af_rose.c
index 33af77246bfe..81f94b1ae1c7 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 28dbdb911b85..50005888be57 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 = {