mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2026-07-05 19:51:21 +00:00
Initialize i2c_info & i2c_init structs with zeros to avoid random values from the stack. This corrects MISRA_C_2012_Rule_9.1: The value of an object with automatic storage duration shall not be read before it has been set. Change-Id: I6f9caac4ef23287ff875b9f375b93c6ba3281288 Signed-off-by: Yann Gautier <yann.gautier@st.com>