commit | 029f81e04c0232843f3e546fa080778a1008a9c5 | [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 | 4198fa1db7297d8385bb6624d4bd475870e5bf12 [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