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 subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
console subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
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 subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
dfu subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
disk subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
emul subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
fb subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
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 subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
logging logging: Add option for prolonged backend initialization 2022-06-09 09:40:01 +02:00
lorawan subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
mgmt mgmt/mcumgr/lib: Fix loop when image write fails 2022-06-10 09:48:31 +02:00
modbus subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
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 subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
random subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
sd sd: increase SDMMC busy wait timeout 2022-05-09 08:46:29 -05:00
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 subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
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 subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
tracing subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
usb subsys/usb: Fix use of 'abs' in computing when to report on_idle 2022-06-14 01:50:36 +09:00
CMakeLists.txt sd: Add common SD initialization code 2022-04-29 14:21:36 -05:00
Kconfig sd: Add common SD initialization code 2022-04-29 14:21:36 -05:00