Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1 -1
+1 -1
drivers/staging/cpc-usb/cpc-usb_drv.c
··· 1032 1032 goto error; 1033 1033 } 1034 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 1036 memset(chan->buf, 0, sizeof(CPC_MSG_T) * CPC_MSG_BUF_CNT); 1037 1037 1038 1038 ResetBuffer(chan);