projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8cb9ad
)
Staging: comedi: adl_pci9118.c: fix unsigned problem with divisors
author
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 4 May 2010 23:08:51 +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/adl_pci9118.c
patch
|
blob
|
history
diff --git
a/drivers/staging/comedi/drivers/adl_pci9118.c
b/drivers/staging/comedi/drivers/adl_pci9118.c
index
dc4bd04
..
ccef549
100644
(file)
--- a/
drivers/staging/comedi/drivers/adl_pci9118.c
+++ b/
drivers/staging/comedi/drivers/adl_pci9118.c
@@
-921,7
+921,8
@@
static int pci9118_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;
/* step 1: make sure trigger sources are trivially valid */