projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8ba8bf
)
Staging: comedi: Corrected type of a printk argument in resize_async_buffer().
author
Ian Abbott
<abbotti@mev.co.uk>
Mon, 21 Sep 2009 18:55:23 +0000
(14:55 -0400)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 9 Oct 2009 20:47:24 +0000
(13:47 -0700)
Signed-off-by: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/comedi_fops.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/comedi/comedi_fops.c
b/drivers/staging/comedi/comedi_fops.c
index f54bb9b3ee37d7e475c6e603ec0123ade364df04..aaad76e0a76a351f6b26a508982dbbfa9787c7a9 100644
(file)
--- a/
drivers/staging/comedi/comedi_fops.c
+++ b/
drivers/staging/comedi/comedi_fops.c
@@
-2337,7
+2337,7
@@
static int resize_async_buffer(struct comedi_device *dev,
}
DPRINTK("comedi%i subd %d buffer resized to %i bytes\n",
- dev->minor,
s - dev->subdevices
, async->prealloc_bufsz);
+ dev->minor,
(int)(s - dev->subdevices)
, async->prealloc_bufsz);
return 0;
}