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 <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Al Viro 2007-10-14 19:35:20 +01:00 • committed by Linus Torvalds
commit 64b33619a3
19 changed files with 25 additions and 25 deletions

View file

@ -626,7 +626,7 @@ typedef struct {
struct amb_dev {
u8 irq;
long flags;
unsigned long flags;
u32 iobase;
u32 * membase;

View file

@ -423,7 +423,7 @@ struct hrz_dev {
wait_queue_head_t tx_queue;
u8 irq;
long flags;
unsigned long flags;
u8 tx_last;
u8 tx_idle;