USB: cdc-acm: cleanup of data structures

Buffers should be u8*, not unsigned char*
Buffers have an unsigned length and using an int
as a boolean is a bit outdated.

No functional change intended.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Link: https://lore.kernel.org/r/20200917110235.11854-1-oneukum@suse.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Oliver Neukum
2020-09-17 13:02:35 +02:00
committed by Greg Kroah-Hartman
parent c56150c1bc
commit 37329036f6
2 changed files with 10 additions and 9 deletions

View File

@@ -64,12 +64,12 @@
#define ACM_NR 16
struct acm_wb {
unsigned char *buf;
u8 *buf;
dma_addr_t dmah;
int len;
int use;
unsigned int len;
struct urb *urb;
struct acm *instance;
bool use;
};
struct acm_rb {