diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-10-14 14:35:40 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-14 15:41:52 -0400 |
commit | b4482a4b2e2ff5ed96d8d16d72e83e75064062c5 (patch) | |
tree | 675b5f0a80d720c63db138d5395d63cee6c74969 /drivers/isdn | |
parent | 64a6f9500d8e8a8e1b1adc2120e56cc88df5727f (diff) |
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')
-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) | |||
1019 | static unsigned int | 1019 | static unsigned int |
1020 | *init_send_hfcd(int cnt) | 1020 | *init_send_hfcd(int cnt) |
1021 | { | 1021 | { |
1022 | int i, *send; | 1022 | int i; |
1023 | unsigned *send; | ||
1023 | 1024 | ||
1024 | if (!(send = kmalloc(cnt * sizeof(unsigned int), GFP_ATOMIC))) { | 1025 | if (!(send = kmalloc(cnt * sizeof(unsigned int), GFP_ATOMIC))) { |
1025 | printk(KERN_WARNING | 1026 | 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) | |||
151 | static int __devinit njs_pci_probe(struct pci_dev *dev_netjet, | 151 | static int __devinit njs_pci_probe(struct pci_dev *dev_netjet, |
152 | struct IsdnCardState *cs) | 152 | struct IsdnCardState *cs) |
153 | { | 153 | { |
154 | int cfg; | 154 | u32 cfg; |
155 | 155 | ||
156 | if (pci_enable_device(dev_netjet)) | 156 | if (pci_enable_device(dev_netjet)) |
157 | return(0); | 157 | return(0); |