diff options
author | David Woodhouse <dwmw2@infradead.org> | 2007-07-23 05:20:10 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2007-07-23 05:20:10 -0400 |
commit | 39fe5434cb9de5da40510028b17b96bc4eb312b3 (patch) | |
tree | 7a02a317b9ad57da51ca99887c119e779ccf3f13 /net/ax25 | |
parent | 0fc72b81d3111d114ab378935b1cf07680ca1289 (diff) | |
parent | f695baf2df9e0413d3521661070103711545207a (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'net/ax25')
-rw-r--r-- | net/ax25/af_ax25.c | 4 | ||||
-rw-r--r-- | net/ax25/ax25_route.c | 2 | ||||
-rw-r--r-- | net/ax25/ax25_uid.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/net/ax25/af_ax25.c b/net/ax25/af_ax25.c index 429e13a6c6..dae2a42d3d 100644 --- a/net/ax25/af_ax25.c +++ b/net/ax25/af_ax25.c | |||
@@ -1262,7 +1262,7 @@ static int __must_check ax25_connect(struct socket *sock, | |||
1262 | 1262 | ||
1263 | for (;;) { | 1263 | for (;;) { |
1264 | prepare_to_wait(sk->sk_sleep, &wait, | 1264 | prepare_to_wait(sk->sk_sleep, &wait, |
1265 | TASK_INTERRUPTIBLE); | 1265 | TASK_INTERRUPTIBLE); |
1266 | if (sk->sk_state != TCP_SYN_SENT) | 1266 | if (sk->sk_state != TCP_SYN_SENT) |
1267 | break; | 1267 | break; |
1268 | if (!signal_pending(current)) { | 1268 | if (!signal_pending(current)) { |
@@ -1924,7 +1924,7 @@ static int ax25_info_show(struct seq_file *seq, void *v) | |||
1924 | return 0; | 1924 | return 0; |
1925 | } | 1925 | } |
1926 | 1926 | ||
1927 | static struct seq_operations ax25_info_seqops = { | 1927 | static const struct seq_operations ax25_info_seqops = { |
1928 | .start = ax25_info_start, | 1928 | .start = ax25_info_start, |
1929 | .next = ax25_info_next, | 1929 | .next = ax25_info_next, |
1930 | .stop = ax25_info_stop, | 1930 | .stop = ax25_info_stop, |
diff --git a/net/ax25/ax25_route.c b/net/ax25/ax25_route.c index d65b8e2286..9ecf6f1df8 100644 --- a/net/ax25/ax25_route.c +++ b/net/ax25/ax25_route.c | |||
@@ -320,7 +320,7 @@ static int ax25_rt_seq_show(struct seq_file *seq, void *v) | |||
320 | return 0; | 320 | return 0; |
321 | } | 321 | } |
322 | 322 | ||
323 | static struct seq_operations ax25_rt_seqops = { | 323 | static const struct seq_operations ax25_rt_seqops = { |
324 | .start = ax25_rt_seq_start, | 324 | .start = ax25_rt_seq_start, |
325 | .next = ax25_rt_seq_next, | 325 | .next = ax25_rt_seq_next, |
326 | .stop = ax25_rt_seq_stop, | 326 | .stop = ax25_rt_seq_stop, |
diff --git a/net/ax25/ax25_uid.c b/net/ax25/ax25_uid.c index 75c76647b2..ce0b13d443 100644 --- a/net/ax25/ax25_uid.c +++ b/net/ax25/ax25_uid.c | |||
@@ -185,7 +185,7 @@ static int ax25_uid_seq_show(struct seq_file *seq, void *v) | |||
185 | return 0; | 185 | return 0; |
186 | } | 186 | } |
187 | 187 | ||
188 | static struct seq_operations ax25_uid_seqops = { | 188 | static const struct seq_operations ax25_uid_seqops = { |
189 | .start = ax25_uid_seq_start, | 189 | .start = ax25_uid_seq_start, |
190 | .next = ax25_uid_seq_next, | 190 | .next = ax25_uid_seq_next, |
191 | .stop = ax25_uid_seq_stop, | 191 | .stop = ax25_uid_seq_stop, |