aboutsummaryrefslogtreecommitdiff
path: root/drivers/atm
diff options
context:
space:
mode:
authorGravatar Al Viro <viro@ftp.linux.org.uk> 2007-10-14 19:35:20 +0100
committerGravatar Linus Torvalds <torvalds@woody.linux-foundation.org> 2007-10-14 12:41:51 -0700
commit64b33619a30ff18c1535ee779572ecffcc4711d2 (patch)
tree742db1890a5671d105eba372b78c7d383607ffe6 /drivers/atm
parentfrv: missing casts in cmpxchg() (diff)
downloadlinux-64b33619a30ff18c1535ee779572ecffcc4711d2.tar.gz
linux-64b33619a30ff18c1535ee779572ecffcc4711d2.tar.bz2
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.h2
-rw-r--r--drivers/atm/horizon.h2
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;