commit | 972221c893d493709baaaa3f023c8ac86f939716 | [log] [tgz] |
---|---|---|
author | Yann Gautier <yann.gautier@st.com> | Tue Mar 29 09:51:21 2022 +0200 |
committer | Yann Gautier <yann.gautier@st.com> | Tue Apr 05 17:05:40 2022 +0200 |
tree | 93ee5162331bf2c1144cd9f9de332a2902165b43 | |
parent | 1f38f24ddf3f216074affcd6ea2da026cf5ec89a [diff] |
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: Yann Gautier <yann.gautier@st.com> Change-Id: I91eff7e99fcdac9a258100b163fd9b040a9bd2c0