]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/irda/irlan/irlan_common.c
Convert files to UTF-8 and some cleanups
[net-next-2.6.git] / net / irda / irlan / irlan_common.c
index fcf9d6599628cdba2d2e52b937d1f1e0f96ead0e..a4b56e25a91705abb9899559f7fb6ae07a535b52 100644 (file)
@@ -17,7 +17,7 @@
  *     published by the Free Software Foundation; either version 2 of
  *     the License, or (at your option) any later version.
  *
- *     Neither Dag Brattli nor University of Troms admit liability nor
+ *     Neither Dag Brattli nor University of TromsΓΈ admit liability nor
  *     provide warranty for any of this software. This material is
  *     provided "AS-IS" and at no charge.
  *
@@ -1039,7 +1039,7 @@ static int __irlan_insert_param(struct sk_buff *skb, char *param, int type,
        }
 
        /* Insert at end of sk-buffer */
-       frame = skb->tail;
+       frame = skb_tail_pointer(skb);
 
        /* Make space for data */
        if (skb_tailroom(skb) < (param_len+value_len+3)) {
@@ -1217,7 +1217,7 @@ static int irlan_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations irlan_seq_ops = {
+static const struct seq_operations irlan_seq_ops = {
        .start = irlan_seq_start,
        .next  = irlan_seq_next,
        .stop  = irlan_seq_stop,