From: Greg Kroah-Hartman Date: Thu, 4 Jun 2009 18:29:54 +0000 (-0700) Subject: Staging: cpc-usb: fix build warnings X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d01c3c8e13f7be29fae5b55bbd4a01d6f84d3d5e;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Staging: cpc-usb: fix build warnings This fixes some build warnings in the cpc-usb driver. Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/cpc-usb/cpc-usb_drv.c b/drivers/staging/cpc-usb/cpc-usb_drv.c index f13db7264e35..9bf3f98c6825 100644 --- a/drivers/staging/cpc-usb/cpc-usb_drv.c +++ b/drivers/staging/cpc-usb/cpc-usb_drv.c @@ -1032,7 +1032,7 @@ static int cpcusb_probe(struct usb_interface *interface, goto error; } info("Allocated memory for %d messages (%lu kbytes)", - CPC_MSG_BUF_CNT, (sizeof(CPC_MSG_T) * CPC_MSG_BUF_CNT) / 1000); + CPC_MSG_BUF_CNT, (long unsigned int)(sizeof(CPC_MSG_T) * CPC_MSG_BUF_CNT) / 1000); memset(chan->buf, 0, sizeof(CPC_MSG_T) * CPC_MSG_BUF_CNT); ResetBuffer(chan);