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:
@@ -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;
|
||||
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user