zephyr/subsys/bluetooth
Erwan Gouriou 2716cbcaa6 drivers: susbsys: Check errors on devices selected using dt macro
Some Kconfig defined devices may be defined using dt_chosen_label
function. Since there is no way to ensure a device enabled in dts
is also defined in Kconfig, it may happen that instance is not
actually defined.
In this case device_get_binding might return 0, leading to undefined
behavior in the function that calls it.
When not already done, systematically check return of function
device_get_binding on devices defined through dt_chosen_label macro.
Trigger ASSERT when required and return error when possible.

Fixes #20068

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2020-05-25 11:43:14 +02:00
..
common Bluetooth: controller: Remove legacy LL 2020-05-08 15:07:00 +02:00
controller Bluetooth: controller: split: Fix slave latency cancel race 2020-05-15 17:07:33 +02:00
host drivers: susbsys: Check errors on devices selected using dt macro 2020-05-25 11:43:14 +02:00
mesh Bluetooth: Mesh: Transport tx fields overflow 2020-05-19 14:44:51 +02:00
services Bluetooth: Use zd print conversion modifier for ssize_t 2020-04-03 21:13:14 +03:00
shell Bluetooth: controller: Remove legacy LL 2020-05-08 15:07:00 +02:00
CMakeLists.txt Bluetooth: controller: Remove legacy LL 2020-05-08 15:07:00 +02:00
Kconfig Bluetooth: Remove LEGACY_TIMEOUT_API selection from bluetooth 2020-04-30 13:46:48 +03:00