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/atm | |
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/atm')
-rw-r--r-- | drivers/atm/ambassador.h | 2 | ||||
-rw-r--r-- | drivers/atm/horizon.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/atm/ambassador.h b/drivers/atm/ambassador.h index 8296420ceaef..ff2a303cbe00 100644 --- a/drivers/atm/ambassador.h +++ b/drivers/atm/ambassador.h | |||
@@ -626,7 +626,7 @@ typedef struct { | |||
626 | 626 | ||
627 | struct amb_dev { | 627 | struct amb_dev { |
628 | u8 irq; | 628 | u8 irq; |
629 | long flags; | 629 | unsigned long flags; |
630 | u32 iobase; | 630 | u32 iobase; |
631 | u32 * membase; | 631 | u32 * membase; |
632 | 632 | ||
diff --git a/drivers/atm/horizon.h b/drivers/atm/horizon.h index 4461229f56a5..b48859d0d434 100644 --- a/drivers/atm/horizon.h +++ b/drivers/atm/horizon.h | |||
@@ -423,7 +423,7 @@ struct hrz_dev { | |||
423 | wait_queue_head_t tx_queue; | 423 | wait_queue_head_t tx_queue; |
424 | 424 | ||
425 | u8 irq; | 425 | u8 irq; |
426 | long flags; | 426 | unsigned long flags; |
427 | u8 tx_last; | 427 | u8 tx_last; |
428 | u8 tx_idle; | 428 | u8 tx_idle; |
429 | 429 | ||