]> git.baikalelectronics.ru Git - kernel.git/commit
USB: cdc-acm: cleanup of data structures
authorOliver Neukum <oneukum@suse.com>
Thu, 17 Sep 2020 11:02:35 +0000 (13:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Sep 2020 16:52:44 +0000 (18:52 +0200)
commitf899a88dc90ad7100ea4d5f3cbb0b67350e648f9
treea1d45c47a2bcf27d1cb383e8525415765d1d066c
parent030057553cce58b0c2ef821326564d449d8860e3
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>
drivers/usb/class/cdc-acm.c
drivers/usb/class/cdc-acm.h