diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-10-14 14:35:20 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-14 15:41:51 -0400 |
commit | 64b33619a30ff18c1535ee779572ecffcc4711d2 (patch) | |
tree | 742db1890a5671d105eba372b78c7d383607ffe6 /drivers/net/wireless | |
parent | 0cc0844bc6d0bfca97fda48fa28d1f0a7cf878cb (diff) |
long vs. unsigned long - low-hanging fruits in drivers
deal with signedness of the stuff passed to set_bit() et.al.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/hostap/hostap_wlan.h | 2 | ||||
-rw-r--r-- | drivers/net/wireless/ray_cs.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/hostap/hostap_wlan.h b/drivers/net/wireless/hostap/hostap_wlan.h index c27b2c1c06af..e6516a186d0e 100644 --- a/drivers/net/wireless/hostap/hostap_wlan.h +++ b/drivers/net/wireless/hostap/hostap_wlan.h | |||
@@ -661,7 +661,7 @@ struct local_info { | |||
661 | #define HOSTAP_BITS_TRANSMIT 0 | 661 | #define HOSTAP_BITS_TRANSMIT 0 |
662 | #define HOSTAP_BITS_BAP_TASKLET 1 | 662 | #define HOSTAP_BITS_BAP_TASKLET 1 |
663 | #define HOSTAP_BITS_BAP_TASKLET2 2 | 663 | #define HOSTAP_BITS_BAP_TASKLET2 2 |
664 | long bits; | 664 | unsigned long bits; |
665 | 665 | ||
666 | struct ap_data *ap; | 666 | struct ap_data *ap; |
667 | 667 | ||
diff --git a/drivers/net/wireless/ray_cs.h b/drivers/net/wireless/ray_cs.h index bd73ebf03340..1e23b7f4cca7 100644 --- a/drivers/net/wireless/ray_cs.h +++ b/drivers/net/wireless/ray_cs.h | |||
@@ -33,8 +33,8 @@ typedef struct ray_dev_t { | |||
33 | void __iomem *rmem; /* pointer to receive buffer window */ | 33 | void __iomem *rmem; /* pointer to receive buffer window */ |
34 | struct pcmcia_device *finder; /* pointer back to struct pcmcia_device for card */ | 34 | struct pcmcia_device *finder; /* pointer back to struct pcmcia_device for card */ |
35 | struct timer_list timer; | 35 | struct timer_list timer; |
36 | long tx_ccs_lock; | 36 | unsigned long tx_ccs_lock; |
37 | long ccs_lock; | 37 | unsigned long ccs_lock; |
38 | int dl_param_ccs; | 38 | int dl_param_ccs; |
39 | union { | 39 | union { |
40 | struct b4_startup_params b4; | 40 | struct b4_startup_params b4; |