commit | 771b7bf05339081019d22452ebcab6929372e13e | [log] [tgz] |
---|---|---|
author | Pierre-Yves MORDRET <pierre-yves.mordret@st.com> | Wed Mar 21 17:48:40 2018 +0100 |
committer | Wolfram Sang <wsa@the-dreams.de> | Sat Mar 24 13:37:41 2018 +0100 |
tree | 256eef8aa766a67f969c36349520ba73cfd6160b | |
parent | c698ca5278934c0ae32297a8725ced2e27585d7f [diff] |
i2c: i2c-stm32f7: fix no check on returned setup Before assigning returned setup structure check if not null Fixes: 463a9215f3ca7600b5ff ("i2c: stm32f7: fix setup structure") Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com> Acked-by: Alexandre TORGUE <alexandre.torgue@st.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de> Cc: stable@kernel.org