aboutsummaryrefslogtreecommitdiffstats
path: root/net/x25/x25_facilities.c
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2007-02-09 09:25:27 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2007-02-11 02:20:22 -0500
commitf8e1d20183bf56f889d60edadd48f54912b9277f (patch)
treeaecc63517c0345e1fb57acd693bb1117247a1e3c /net/x25/x25_facilities.c
parent4ba6122b4e0537858e8579716896f01acf55f745 (diff)
[NET] X25: 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/x25/x25_facilities.c')
-rw-r--r--net/x25/x25_facilities.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/net/x25/x25_facilities.c b/net/x25/x25_facilities.c
index 27f5cc7966f6..dec404afa113 100644
--- a/net/x25/x25_facilities.c
+++ b/net/x25/x25_facilities.c
@@ -3,7 +3,7 @@
3 * 3 *
4 * This is ALPHA test software. This code may break your machine, 4 * This is ALPHA test software. This code may break your machine,
5 * randomly fail to work with new releases, misbehave and/or generally 5 * randomly fail to work with new releases, misbehave and/or generally
6 * screw up. It might even work. 6 * screw up. It might even work.
7 * 7 *
8 * This code REQUIRES 2.1.15 or higher 8 * This code REQUIRES 2.1.15 or higher
9 * 9 *
@@ -15,7 +15,7 @@
15 * 15 *
16 * History 16 * History
17 * X.25 001 Split from x25_subr.c 17 * X.25 001 Split from x25_subr.c
18 * mar/20/00 Daniela Squassoni Disabling/enabling of facilities 18 * mar/20/00 Daniela Squassoni Disabling/enabling of facilities
19 * negotiation. 19 * negotiation.
20 * apr/14/05 Shaun Pereira - Allow fast select with no restriction 20 * apr/14/05 Shaun Pereira - Allow fast select with no restriction
21 * on response. 21 * on response.
@@ -125,8 +125,8 @@ int x25_parse_facilities(struct sk_buff *skb, struct x25_facilities *facilities,
125 break; 125 break;
126 case X25_FAC_CLASS_D: 126 case X25_FAC_CLASS_D:
127 switch (*p) { 127 switch (*p) {
128 case X25_FAC_CALLING_AE: 128 case X25_FAC_CALLING_AE:
129 if (p[1] > X25_MAX_DTE_FACIL_LEN) 129 if (p[1] > X25_MAX_DTE_FACIL_LEN)
130 break; 130 break;
131 dte_facs->calling_len = p[2]; 131 dte_facs->calling_len = p[2];
132 memcpy(dte_facs->calling_ae, &p[3], p[1] - 1); 132 memcpy(dte_facs->calling_ae, &p[3], p[1] - 1);
@@ -293,7 +293,7 @@ int x25_negotiate_facilities(struct sk_buff *skb, struct sock *sk,
293} 293}
294 294
295/* 295/*
296 * Limit values of certain facilities according to the capability of the 296 * Limit values of certain facilities according to the capability of the
297 * currently attached x25 link. 297 * currently attached x25 link.
298 */ 298 */
299void x25_limit_facilities(struct x25_facilities *facilities, 299void x25_limit_facilities(struct x25_facilities *facilities,