-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Labels
bugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: mediumMedium impact/importance bugMedium impact/importance bug
Description
#28369 was merged in the late days of 2.4 development to fix a problem where device drivers with incorrect/conflicting dependencies used device_get_binding()
to identify a driver they depend on before that driver was initialized. Consequently z_device_ready()
will succeed for devices that have not yet been initialized.
This really needs to get fixed as there are limited checks that a successfully obtained device pointer remains valid when it's actually used.
Metadata
Metadata
Assignees
Labels
bugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: mediumMedium impact/importance bugMedium impact/importance bug