projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efe8d60
)
Staging: comedi: cb_pcidas.c: Fix build warning (type mismatch)
author
Gerard Lledo
<gerard.lledo@gmail.com>
Wed, 27 May 2009 14:35:19 +0000
(17:35 +0300)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 19 Jun 2009 18:00:34 +0000
(11:00 -0700)
spin_lock_irqsave expects flags to be unsigned long, not unsigned int.
Signed-off-by: Gerard Lledo <gerard.lledo@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/cb_pcidas.c
patch
|
blob
|
history
diff --git
a/drivers/staging/comedi/drivers/cb_pcidas.c
b/drivers/staging/comedi/drivers/cb_pcidas.c
index
28212ad
..
702de15
100644
(file)
--- a/
drivers/staging/comedi/drivers/cb_pcidas.c
+++ b/
drivers/staging/comedi/drivers/cb_pcidas.c
@@
-1593,7
+1593,7
@@
static void handle_ao_interrupt(struct comedi_device *dev, unsigned int status)
struct comedi_cmd *cmd = &async->cmd;
unsigned int half_fifo = thisboard->fifo_size / 2;
unsigned int num_points;
- unsigned
int
flags;
+ unsigned
long
flags;
async->events = 0;