aboutsummaryrefslogtreecommitdiffstats
path: root/net/netrom/nr_route.c
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2007-02-09 09:25:09 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2007-02-11 02:20:00 -0500
commit5f8f59d6641a3726985593f3e52430daa90c7933 (patch)
tree6f00c19b414285b3d5d494a383ea0b8e806d51d9 /net/netrom/nr_route.c
parent746fac4dcd82864c6ecd85d3f09cc173db9b1870 (diff)
[NET] NETROM: Fix whitespace errors.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netrom/nr_route.c')
-rw-r--r--net/netrom/nr_route.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/net/netrom/nr_route.c b/net/netrom/nr_route.c
index 8f88964099ef..e9909aeb43e9 100644
--- a/net/netrom/nr_route.c
+++ b/net/netrom/nr_route.c
@@ -781,8 +781,8 @@ int nr_route_frame(struct sk_buff *skb, ax25_cb *ax25)
781 781
782 if (ax25 != NULL) { 782 if (ax25 != NULL) {
783 ret = nr_add_node(nr_src, "", &ax25->dest_addr, ax25->digipeat, 783 ret = nr_add_node(nr_src, "", &ax25->dest_addr, ax25->digipeat,
784 ax25->ax25_dev->dev, 0, 784 ax25->ax25_dev->dev, 0,
785 sysctl_netrom_obsolescence_count_initialiser); 785 sysctl_netrom_obsolescence_count_initialiser);
786 if (ret) 786 if (ret)
787 return ret; 787 return ret;
788 } 788 }
@@ -861,8 +861,8 @@ static void *nr_node_start(struct seq_file *seq, loff_t *pos)
861 struct nr_node *nr_node; 861 struct nr_node *nr_node;
862 struct hlist_node *node; 862 struct hlist_node *node;
863 int i = 1; 863 int i = 1;
864 864
865 spin_lock_bh(&nr_node_list_lock); 865 spin_lock_bh(&nr_node_list_lock);
866 if (*pos == 0) 866 if (*pos == 0)
867 return SEQ_START_TOKEN; 867 return SEQ_START_TOKEN;
868 868
@@ -879,8 +879,8 @@ static void *nr_node_next(struct seq_file *seq, void *v, loff_t *pos)
879{ 879{
880 struct hlist_node *node; 880 struct hlist_node *node;
881 ++*pos; 881 ++*pos;
882 882
883 node = (v == SEQ_START_TOKEN) 883 node = (v == SEQ_START_TOKEN)
884 ? nr_node_list.first 884 ? nr_node_list.first
885 : ((struct nr_node *)v)->node_node.next; 885 : ((struct nr_node *)v)->node_node.next;
886 886
@@ -963,8 +963,8 @@ static void *nr_neigh_next(struct seq_file *seq, void *v, loff_t *pos)
963{ 963{
964 struct hlist_node *node; 964 struct hlist_node *node;
965 ++*pos; 965 ++*pos;
966 966
967 node = (v == SEQ_START_TOKEN) 967 node = (v == SEQ_START_TOKEN)
968 ? nr_neigh_list.first 968 ? nr_neigh_list.first
969 : ((struct nr_neigh *)v)->neigh_node.next; 969 : ((struct nr_neigh *)v)->neigh_node.next;
970 970
@@ -997,7 +997,7 @@ static int nr_neigh_show(struct seq_file *seq, void *v)
997 997
998 if (nr_neigh->digipeat != NULL) { 998 if (nr_neigh->digipeat != NULL) {
999 for (i = 0; i < nr_neigh->digipeat->ndigi; i++) 999 for (i = 0; i < nr_neigh->digipeat->ndigi; i++)
1000 seq_printf(seq, " %s", 1000 seq_printf(seq, " %s",
1001 ax2asc(buf, &nr_neigh->digipeat->calls[i])); 1001 ax2asc(buf, &nr_neigh->digipeat->calls[i]));
1002 } 1002 }
1003 1003