Skip to content
Commit b8eab512 authored by Yann Gautier's avatar Yann Gautier
Browse files

fix(st-clock): check _clk_stm32_get_parent return



This issue was found by Coverity (CID 376885). The _clk_stm32_get_parent()
return shouldn't be negative. Return the error in this case.

Signed-off-by: default avatarYann Gautier <yann.gautier@st.com>
Change-Id: I91eff7e99fcdac9a258100b163fd9b040a9bd2c0
parent 1bbe2135
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment