projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7f22a8
)
Staging: comedi: adv_pci1710.c: fix unsigned problem with divisors
author
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 4 May 2010 23:08:24 +0000
(16:08 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 11 May 2010 18:36:08 +0000
(11:36 -0700)
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/adv_pci1710.c
patch
|
blob
|
history
diff --git
a/drivers/staging/comedi/drivers/adv_pci1710.c
b/drivers/staging/comedi/drivers/adv_pci1710.c
index 5c1ff779af2c89a9a72fe967725b1e818dcf60f7..67c4f11a36ab261eb045b26925e1fe131f0dbb64 100644
(file)
--- a/
drivers/staging/comedi/drivers/adv_pci1710.c
+++ b/
drivers/staging/comedi/drivers/adv_pci1710.c
@@
-937,7
+937,8
@@
static int pci171x_ai_cmdtest(struct comedi_device *dev,
struct comedi_cmd *cmd)
{
int err = 0;
- int tmp, divisor1 = 0, divisor2 = 0;
+ int tmp;
+ unsigned int divisor1 = 0, divisor2 = 0;
DPRINTK("adv_pci1710 EDBG: BGN: pci171x_ai_cmdtest(...)\n");
#ifdef PCI171X_EXTDEBUG