diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-04 14:29:54 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-19 14:00:53 -0400 |
commit | d01c3c8e13f7be29fae5b55bbd4a01d6f84d3d5e (patch) | |
tree | 48e76c196400d883deca8940fae60067ffe486ea | |
parent | 5e23f3e9626b1bdc425f6351d10be28a57aae9c8 (diff) |
Staging: cpc-usb: fix build warnings
This fixes some build warnings in the cpc-usb driver.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/cpc-usb/cpc-usb_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
1032 | goto error; | 1032 | goto error; |
1033 | } | 1033 | } |
1034 | info("Allocated memory for %d messages (%lu kbytes)", | 1034 | info("Allocated memory for %d messages (%lu kbytes)", |
1035 | CPC_MSG_BUF_CNT, (sizeof(CPC_MSG_T) * CPC_MSG_BUF_CNT) / 1000); | 1035 | CPC_MSG_BUF_CNT, (long unsigned int)(sizeof(CPC_MSG_T) * CPC_MSG_BUF_CNT) / 1000); |
1036 | memset(chan->buf, 0, sizeof(CPC_MSG_T) * CPC_MSG_BUF_CNT); | 1036 | memset(chan->buf, 0, sizeof(CPC_MSG_T) * CPC_MSG_BUF_CNT); |
1037 | 1037 | ||
1038 | ResetBuffer(chan); | 1038 | ResetBuffer(chan); |