]> err.no Git - linux-2.6/commitdiff
[IRDA]: fix 16/32 bit confusion
authorAlexey Dobriyan <adobriyan@gmail.com>
Mon, 22 May 2006 23:54:08 +0000 (16:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 May 2006 23:54:08 +0000 (16:54 -0700)
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/irda/iriap.c

index 254f9074690011a66e0382fbef5f65892e81b32e..2d2e2b1919f40f70230c1527edbf8bb0c23d5fa4 100644 (file)
@@ -544,7 +544,8 @@ static void iriap_getvaluebyclass_response(struct iriap_cb *self,
 {
        struct sk_buff *tx_skb;
        int n;
-       __u32 tmp_be32, tmp_be16;
+       __u32 tmp_be32;
+       __be16 tmp_be16;
        __u8 *fp;
 
        IRDA_DEBUG(4, "%s()\n", __FUNCTION__);