summaryrefslogtreecommitdiff
path: root/scripts/checkstack.pl
diff options
context:
space:
mode:
authorPatrice Chotard <[email protected]>2026-02-04 11:16:07 +0100
committerPatrice Chotard <[email protected]>2026-02-24 17:44:09 +0100
commitab965d31a26610a5ede267f1962956c9deb9e913 (patch)
tree50c3bf5ac788f91dddecfef0e3475d9dab276832 /scripts/checkstack.pl
parent4aac418854a3d865759bfac9110a662e4668bb1c (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 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions