zephyr/samples/subsys/usb
Aleksandar Markovic 9760c83267 samples: cdc_acm_composite: Use proper type for variable 'read'
Function uart_fifo_read() returns 'int' (it may return negative values
in error cases). Its return value is stored in the variable 'read' that
is, however, of type 'size_t'.

Change the type of the variable 'read' from 'size_t' to 'int' to
accomodate proper handling of uart_fifo_read() invocation.

Coverity-CID: 248408

Signed-off-by: Aleksandar Markovic <aleksandar.markovic.sa@gmail.com>
2022-04-26 12:05:26 -04:00
..
audio
cdc_acm samples: fix wrong extra_args definitions 2022-01-04 17:15:06 -05:00
cdc_acm_composite samples: cdc_acm_composite: Use proper type for variable 'read' 2022-04-26 12:05:26 -04:00
console
dfu usb: dfu: update sample README 2022-03-31 15:33:16 +02:00
hid
hid-cdc drivers: gpio: move non-standard dts flags to be soc specific 2022-03-10 13:46:34 -05:00
hid-mouse
inf
mass samples: add module requirement into samples 2022-04-19 09:38:55 -04:00
testusb
webusb everywhere: fix typos 2022-03-18 13:24:08 -04:00
usb.rst
usb_pid.Kconfig