Commit 4bab61d6 authored by Jean Tourrilhes's avatar Jean Tourrilhes Committed by Jeff Garzik

IrDA update 2/3, set_bit updates:

 <Following patch from Paul Mackerras>
o [CORRECT] Argument of set_bit and friends should be unsigned long
Should fix all compile warnings ;-)
parent 1ba2b21b
...@@ -100,7 +100,7 @@ struct lsap_cb { ...@@ -100,7 +100,7 @@ struct lsap_cb {
irda_queue_t queue; /* Must be first */ irda_queue_t queue; /* Must be first */
magic_t magic; magic_t magic;
int connected; unsigned long connected; /* set_bit used on this */
int persistent; int persistent;
__u8 slsap_sel; /* Source (this) LSAP address */ __u8 slsap_sel; /* Source (this) LSAP address */
......
...@@ -139,7 +139,7 @@ struct tsap_cb { ...@@ -139,7 +139,7 @@ struct tsap_cb {
__u32 tx_max_sdu_size; /* Max transmit user data size */ __u32 tx_max_sdu_size; /* Max transmit user data size */
int close_pend; /* Close, but disconnect_pend */ int close_pend; /* Close, but disconnect_pend */
int disconnect_pend; /* Disconnect, but still data to send */ unsigned long disconnect_pend; /* Disconnect, but still data to send */
struct sk_buff *disconnect_skb; struct sk_buff *disconnect_skb;
}; };
......
...@@ -409,8 +409,8 @@ typedef struct irnet_socket ...@@ -409,8 +409,8 @@ typedef struct irnet_socket
/* ------------------------ IrTTP part ------------------------ */ /* ------------------------ IrTTP part ------------------------ */
/* We create a pseudo "socket" over the IrDA tranport */ /* We create a pseudo "socket" over the IrDA tranport */
int ttp_open; /* Set when IrTTP is ready */ unsigned long ttp_open; /* Set when IrTTP is ready */
int ttp_connect; /* Set when IrTTP is connecting */ unsigned long ttp_connect; /* Set when IrTTP is connecting */
struct tsap_cb * tsap; /* IrTTP instance (the connection) */ struct tsap_cb * tsap; /* IrTTP instance (the connection) */
char rname[NICKNAME_MAX_LEN + 1]; char rname[NICKNAME_MAX_LEN + 1];
......
...@@ -860,7 +860,7 @@ ppp_irnet_send(struct ppp_channel * chan, ...@@ -860,7 +860,7 @@ ppp_irnet_send(struct ppp_channel * chan,
irda_irnet_connect(self); irda_irnet_connect(self);
#endif /* CONNECT_IN_SEND */ #endif /* CONNECT_IN_SEND */
DEBUG(PPP_INFO, "IrTTP not ready ! (%d-%d)\n", DEBUG(PPP_INFO, "IrTTP not ready ! (%ld-%ld)\n",
self->ttp_open, self->ttp_connect); self->ttp_open, self->ttp_connect);
/* Note : we can either drop the packet or block the packet. /* Note : we can either drop the packet or block the packet.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment