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/isdn/hisax | |
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/isdn/hisax')
-rw-r--r-- | drivers/isdn/hisax/hisax.h | 2 | ||||
-rw-r--r-- | drivers/isdn/hisax/hisax_if.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/hisax/hisax.h b/drivers/isdn/hisax/hisax.h index 3cd8d5ba239b..34733c903df7 100644 --- a/drivers/isdn/hisax/hisax.h +++ b/drivers/isdn/hisax/hisax.h | |||
@@ -202,7 +202,7 @@ struct Layer1 { | |||
202 | void *hardware; | 202 | void *hardware; |
203 | struct BCState *bcs; | 203 | struct BCState *bcs; |
204 | struct PStack **stlistp; | 204 | struct PStack **stlistp; |
205 | long Flags; | 205 | unsigned long Flags; |
206 | struct FsmInst l1m; | 206 | struct FsmInst l1m; |
207 | struct FsmTimer timer; | 207 | struct FsmTimer timer; |
208 | void (*l1l2) (struct PStack *, int, void *); | 208 | void (*l1l2) (struct PStack *, int, void *); |
diff --git a/drivers/isdn/hisax/hisax_if.h b/drivers/isdn/hisax/hisax_if.h index 4898fce2d509..aa7c94037b2b 100644 --- a/drivers/isdn/hisax/hisax_if.h +++ b/drivers/isdn/hisax/hisax_if.h | |||
@@ -56,7 +56,7 @@ struct hisax_d_if { | |||
56 | struct IsdnCardState *cs; | 56 | struct IsdnCardState *cs; |
57 | struct hisax_b_if *b_if[2]; | 57 | struct hisax_b_if *b_if[2]; |
58 | struct sk_buff_head erq; | 58 | struct sk_buff_head erq; |
59 | long ph_state; | 59 | unsigned long ph_state; |
60 | }; | 60 | }; |
61 | 61 | ||
62 | int hisax_register(struct hisax_d_if *hisax_if, struct hisax_b_if *b_if[], | 62 | int hisax_register(struct hisax_d_if *hisax_if, struct hisax_b_if *b_if[], |