projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e23f3e
)
Staging: cpc-usb: fix build warnings
author
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 4 Jun 2009 18:29:54 +0000
(11:29 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 19 Jun 2009 18:00:53 +0000
(11:00 -0700)
This fixes some build warnings in the cpc-usb driver.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/cpc-usb/cpc-usb_drv.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/cpc-usb/cpc-usb_drv.c
b/drivers/staging/cpc-usb/cpc-usb_drv.c
index f13db7264e357e85e9991b3fb3d85a6d7d3b3158..9bf3f98c6825688851ee0008688bb7c82ea17eee 100644
(file)
--- 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);