commit | ad631cc33583120d54b1f173084a90cfbf484a68 | [log] [tgz] |
---|---|---|
author | Yann Gautier <yann.gautier@st.com> | Mon Nov 21 13:36:53 2022 +0100 |
committer | Yann Gautier <yann.gautier@st.com> | Wed Dec 07 18:25:13 2022 +0100 |
tree | e5b1ad21b1f11abc2f73e6fae9f9a665e94bba60 | |
parent | ac8999dc8d568464a4e710e1c7aded64b735a117 [diff] |
fix(st-sdmmc): check transfer size before filling register Fix MISRA C2012-10.3: The value of an expression shall not be assigned to an object with a narrower essential type or of a different essential type category. Check buffer size is less than 4GB before casting the command argument. Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: Iac1afcfe905c99b22cb39dc4104d351b0e647e5d