diff options
| author | Patrice Chotard <[email protected]> | 2026-02-04 11:16:08 +0100 |
|---|---|---|
| committer | Patrice Chotard <[email protected]> | 2026-02-24 17:44:09 +0100 |
| commit | ac7f28523cd4fc5c01bc4a99e0ed856b32d1cf8d (patch) | |
| tree | aae58411ddbefa21119d862238dea31a893ce62e /scripts | |
| parent | ab965d31a26610a5ede267f1962956c9deb9e913 (diff) | |
stm32mp1: 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 'scripts')
0 files changed, 0 insertions, 0 deletions
