diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-10-14 20:35:20 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-14 21:41:51 +0200 |
commit | 64b33619a30ff18c1535ee779572ecffcc4711d2 (patch) | |
tree | 742db1890a5671d105eba372b78c7d383607ffe6 /drivers/atm | |
parent | frv: missing casts in cmpxchg() (diff) | |
download | linux-64b33619a30ff18c1535ee779572ecffcc4711d2.tar.xz linux-64b33619a30ff18c1535ee779572ecffcc4711d2.zip |
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 { struct amb_dev { u8 irq; - long flags; + unsigned long flags; u32 iobase; u32 * membase; 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 { wait_queue_head_t tx_queue; u8 irq; - long flags; + unsigned long flags; u8 tx_last; u8 tx_idle; |