mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-05 20:53:04 +09:00
commit771b7bf053upstream. Before assigning returned setup structure check if not null Fixes:463a9215f3("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 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>