zephyr/subsys
Keith Packard abac6ccfaf subsys/usb: Fix use of 'abs' in computing when to report on_idle
idle_rate is uint8_t, sof_cnt is uint32_t. The result is uint32_t, which
is the wrong type for 'abs'. Explicitly cast idle_rate to uint32_t,
subtract sof_cnt and then explicitly cast to int32_t and then use abs,
storing the result in another int32_t which matches the return type for
abs.

This quiets clang warnings about passing unsigned values to abs.

Signed-off-by: Keith Packard <keithp@keithp.com>
2022-06-14 01:50:36 +09:00
..
bluetooth Bluetooth: host: ASCS: Correction code comments 2022-06-13 12:12:50 +02:00
canbus
console
cpp linker: ensure global constructors only run once 2022-06-09 11:33:36 +02:00
debug coredump: drivers: Add coredump device 2022-06-05 14:28:34 +02:00
demand_paging
dfu
disk
emul
fb
fs fs/nvs: Fix comment typo 2022-06-05 14:49:20 +02:00
ipc lib: os: spsc_pbuf: Add option to use cache 2022-06-07 19:04:35 +02:00
jwt
logging logging: Add option for prolonged backend initialization 2022-06-09 09:40:01 +02:00
lorawan
mgmt mgmt/mcumgr/lib: Fix loop when image write fails 2022-06-10 09:48:31 +02:00
modbus
net net: dns: Return error code 2022-06-13 12:11:54 +02:00
pm pm: device: helper to query power state 2022-06-08 12:43:00 +02:00
portability
random
sd
settings include: add more missing zephyr/ prefixes 2022-05-27 15:20:27 -07:00
shell shell: uart: Fix compilation warning 2022-06-06 22:47:11 +02:00
stats
storage storage/flash_map: Return -ENODEV from flash_area_open 2022-06-05 14:28:58 +02:00
task_wdt include: add more missing zephyr/ prefixes 2022-05-27 15:20:27 -07:00
testsuite testsuite: Make ztress header C++ compatible 2022-06-07 11:53:41 +02:00
timing
tracing
usb subsys/usb: Fix use of 'abs' in computing when to report on_idle 2022-06-14 01:50:36 +09:00
CMakeLists.txt
Kconfig