zephyr/samples
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
..
application_development include: remove unnecessary autoconf.h includes 2022-04-05 11:18:20 +02:00
arch samples: arch: mpu: mpu_test: use DEVICE_DT_GET 2022-03-31 13:55:10 +02:00
basic samples: servo_motor: Align with recent changes in pwm_nrf5_sw driver 2022-04-22 09:43:26 +02:00
bluetooth samples: bluetooth: mesh_demo: Align with changes in pwm_nrf5_sw driver 2022-04-22 09:43:26 +02:00
boards samples: bbc_microbit: Align with recent changes in pwm_nrf5_sw driver 2022-04-22 09:43:26 +02:00
compression samples/compression/l4z: Increase min_ram 2022-01-28 10:07:00 +01:00
drivers tests: eeprom: fix integration_platforms 2022-04-08 09:31:01 +02:00
hello_world samples: hello_world: remove redundant header 2022-03-17 17:40:11 -04:00
kernel everywhere: fix typos 2022-03-18 13:24:08 -04:00
modules samples: add module requirement into samples 2022-04-19 09:38:55 -04:00
net net: lwm2m: adds LwM2M v1.1 overlay 2022-04-22 09:44:36 +02:00
philosophers doc: use :kconfig:option: domain role 2022-03-02 09:28:37 +01:00
posix include: Prefix includes to use a scope 2022-04-08 19:03:32 +02:00
sensor drivers: sensors: Update sam qdec driver to use pinctrl 2022-03-24 15:45:37 -07:00
shields boards: shields: x_nucleo_53l0a1: new shield 2022-04-07 14:30:01 -05:00
subsys samples: cdc_acm_composite: Use proper type for variable 'read' 2022-04-26 12:05:26 -04:00
synchronization samples: synchronization: use k_thread_cpu_pin 2022-04-19 13:05:09 -04:00
tfm_integration samples: psa-firmware: Correct readme instructions 2022-04-08 15:52:01 -07:00
userspace hello_world_user: don't always assume userspace 2022-04-13 13:29:52 -07:00
classic.rst doc: fix top samples doc index 2021-03-09 17:48:18 -05:00
index.rst samples: compression: lz4: lz4 sample application 2021-06-12 17:21:55 +02:00