aboutsummaryrefslogtreecommitdiffstats
path: root/net/irda/irttp.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-11-14 23:47:46 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-03 00:22:48 -0500
commit448c31aa34b5ee947d322e8747c4cf801fc4c104 (patch)
tree8caa290c2d91d79863c4a1135b523334766020bb /net/irda/irttp.c
parentc68b907028d35b0ad5a98b5e5552f0ad56a9ba1d (diff)
[IRDA]: Trivial annotations.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/irda/irttp.c')
-rw-r--r--net/irda/irttp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/irda/irttp.c b/net/irda/irttp.c
index 3c2e70b77df1..9c446a72ff1f 100644
--- a/net/irda/irttp.c
+++ b/net/irda/irttp.c
@@ -1147,7 +1147,7 @@ int irttp_connect_request(struct tsap_cb *self, __u8 dtsap_sel,
1147 frame[3] = 0x02; /* Value length */ 1147 frame[3] = 0x02; /* Value length */
1148 1148
1149 put_unaligned(cpu_to_be16((__u16) max_sdu_size), 1149 put_unaligned(cpu_to_be16((__u16) max_sdu_size),
1150 (__u16 *)(frame+4)); 1150 (__be16 *)(frame+4));
1151 } else { 1151 } else {
1152 /* Insert plain TTP header */ 1152 /* Insert plain TTP header */
1153 frame = skb_push(tx_skb, TTP_HEADER); 1153 frame = skb_push(tx_skb, TTP_HEADER);
@@ -1394,7 +1394,7 @@ int irttp_connect_response(struct tsap_cb *self, __u32 max_sdu_size,
1394 frame[3] = 0x02; /* Value length */ 1394 frame[3] = 0x02; /* Value length */
1395 1395
1396 put_unaligned(cpu_to_be16((__u16) max_sdu_size), 1396 put_unaligned(cpu_to_be16((__u16) max_sdu_size),
1397 (__u16 *)(frame+4)); 1397 (__be16 *)(frame+4));
1398 } else { 1398 } else {
1399 /* Insert TTP header */ 1399 /* Insert TTP header */
1400 frame = skb_push(tx_skb, TTP_HEADER); 1400 frame = skb_push(tx_skb, TTP_HEADER);