diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-10-14 19:35:40 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-14 12:41:52 -0700 |
commit | b4482a4b2e2ff5ed96d8d16d72e83e75064062c5 (patch) | |
tree | 675b5f0a80d720c63db138d5395d63cee6c74969 /drivers/isdn/hisax | |
parent | 64a6f9500d8e8a8e1b1adc2120e56cc88df5727f (diff) | |
download | blackbird-op-linux-b4482a4b2e2ff5ed96d8d16d72e83e75064062c5.tar.gz blackbird-op-linux-b4482a4b2e2ff5ed96d8d16d72e83e75064062c5.zip |
more trivial signedness fixes in drivers
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/hfc_2bds0.c | 3 | ||||
-rw-r--r-- | drivers/isdn/hisax/nj_s.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/drivers/isdn/hisax/hfc_2bds0.c b/drivers/isdn/hisax/hfc_2bds0.c index 8d9864453a23..5c46a7130e06 100644 --- a/drivers/isdn/hisax/hfc_2bds0.c +++ b/drivers/isdn/hisax/hfc_2bds0.c @@ -1019,7 +1019,8 @@ hfc_dbusy_timer(struct IsdnCardState *cs) static unsigned int *init_send_hfcd(int cnt) { - int i, *send; + int i; + unsigned *send; if (!(send = kmalloc(cnt * sizeof(unsigned int), GFP_ATOMIC))) { printk(KERN_WARNING diff --git a/drivers/isdn/hisax/nj_s.c b/drivers/isdn/hisax/nj_s.c index fa2db87667c8..a895dfed40e5 100644 --- a/drivers/isdn/hisax/nj_s.c +++ b/drivers/isdn/hisax/nj_s.c @@ -151,7 +151,7 @@ NETjet_S_card_msg(struct IsdnCardState *cs, int mt, void *arg) static int __devinit njs_pci_probe(struct pci_dev *dev_netjet, struct IsdnCardState *cs) { - int cfg; + u32 cfg; if (pci_enable_device(dev_netjet)) return(0); |