diff options
| author | Patrice Chotard <[email protected]> | 2026-02-04 11:16:07 +0100 |
|---|---|---|
| committer | Patrice Chotard <[email protected]> | 2026-02-24 17:44:09 +0100 |
| commit | ab965d31a26610a5ede267f1962956c9deb9e913 (patch) | |
| tree | 50c3bf5ac788f91dddecfef0e3475d9dab276832 /doc/develop/python_cq.rst | |
| parent | 4aac418854a3d865759bfac9110a662e4668bb1c (diff) | |
stm32mp2: Add check on syscon_get_first_range() return value
syscon_get_first_range()'s return value is used as base address to perform
a read, without any checks.
In case stmp32mp_syscon is not binded, syscon_get_first_range() returns
-ENODEV which leads to a "Synchronous abort".
Add syscon_get_first_range() check on return value.
Signed-off-by: Patrice Chotard <[email protected]>
Reviewed-by: Patrick Delaunay <[email protected]>
Diffstat (limited to 'doc/develop/python_cq.rst')
0 files changed, 0 insertions, 0 deletions
