mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
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>
This commit is contained in:
parent
5e23f3e962
commit
d01c3c8e13
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue