diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-10-14 19:35:20 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-14 12:41:51 -0700 |
commit | 64b33619a30ff18c1535ee779572ecffcc4711d2 (patch) | |
tree | 742db1890a5671d105eba372b78c7d383607ffe6 /drivers/isdn | |
parent | 0cc0844bc6d0bfca97fda48fa28d1f0a7cf878cb (diff) | |
download | linux-3.10-64b33619a30ff18c1535ee779572ecffcc4711d2.tar.gz linux-3.10-64b33619a30ff18c1535ee779572ecffcc4711d2.tar.bz2 linux-3.10-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/isdn')
-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 3cd8d5ba239..34733c903df 100644 --- a/drivers/isdn/hisax/hisax.h +++ b/drivers/isdn/hisax/hisax.h @@ -202,7 +202,7 @@ struct Layer1 { void *hardware; struct BCState *bcs; struct PStack **stlistp; - long Flags; + unsigned long Flags; struct FsmInst l1m; struct FsmTimer timer; void (*l1l2) (struct PStack *, int, void *); diff --git a/drivers/isdn/hisax/hisax_if.h b/drivers/isdn/hisax/hisax_if.h index 4898fce2d50..aa7c94037b2 100644 --- a/drivers/isdn/hisax/hisax_if.h +++ b/drivers/isdn/hisax/hisax_if.h @@ -56,7 +56,7 @@ struct hisax_d_if { struct IsdnCardState *cs; struct hisax_b_if *b_if[2]; struct sk_buff_head erq; - long ph_state; + unsigned long ph_state; }; int hisax_register(struct hisax_d_if *hisax_if, struct hisax_b_if *b_if[], |