From: Ian Abbott Date: Mon, 21 Sep 2009 18:55:23 +0000 (-0400) Subject: Staging: comedi: Corrected type of a printk argument in resize_async_buffer(). X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b8b5cd9f87e08f72c78d9197bf199821fda4ba36;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git Staging: comedi: Corrected type of a printk argument in resize_async_buffer(). Signed-off-by: Frank Mori Hess Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/comedi_fops.c b/drivers/staging/comedi/comedi_fops.c index f54bb9b3ee37..aaad76e0a76a 100644 --- 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; }