projects
/
firefly-linux-kernel-4.4.55.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 dc4bd0423e6ff12a6751e671ace742daa5074ba9..ccef549778e409c7eb3249f1e69cb7b7728c4d58 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 */