diff options
| author | Patrice Chotard <[email protected]> | 2026-02-11 15:32:23 +0100 |
|---|---|---|
| committer | Patrice Chotard <[email protected]> | 2026-02-24 14:14:15 +0100 |
| commit | 6a6f2eb3e6a78abf76566df1e57b85a2a3d35ee2 (patch) | |
| tree | bd3538cf055f49a8037eaf9d7557cc4ffdb77c3f /include | |
| parent | 32912d0908bbdb56a8863e835a2edc6e13c7159a (diff) | |
board: st: common: add uclass_get_device_by_driver()'s return value check
class_get_device_by_driver()'s return value is not checked, in case of BSEC
driver is not probed, dev is not set and used just after as parameter of
misc_read() which leads to a Synchronous Abort.
Add uclass_get_device_by_driver()'s return value check to fix it.
Signed-off-by: Patrice Chotard <[email protected]>
Reviewed-by: Patrick Delaunay <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
