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>
This commit is contained in:
Al Viro
2007-10-14 19:35:20 +01:00
committed by Linus Torvalds
parent 0cc0844bc6
commit 64b33619a3
19 changed files with 25 additions and 25 deletions

View File

@@ -661,7 +661,7 @@ struct local_info {
#define HOSTAP_BITS_TRANSMIT 0
#define HOSTAP_BITS_BAP_TASKLET 1
#define HOSTAP_BITS_BAP_TASKLET2 2
long bits;
unsigned long bits;
struct ap_data *ap;

View File

@@ -33,8 +33,8 @@ typedef struct ray_dev_t {
void __iomem *rmem; /* pointer to receive buffer window */
struct pcmcia_device *finder; /* pointer back to struct pcmcia_device for card */
struct timer_list timer;
long tx_ccs_lock;
long ccs_lock;
unsigned long tx_ccs_lock;
unsigned long ccs_lock;
int dl_param_ccs;
union {
struct b4_startup_params b4;