Skip to content
Commit 771b7bf0 authored by Pierre-Yves MORDRET's avatar Pierre-Yves MORDRET Committed by Wolfram Sang
Browse files

i2c: i2c-stm32f7: fix no check on returned setup



Before assigning returned setup structure check if not null

Fixes: 463a9215 ("i2c: stm32f7: fix setup structure")
Signed-off-by: default avatarPierre-Yves MORDRET <pierre-yves.mordret@st.com>
Acked-by: default avatarAlexandre TORGUE <alexandre.torgue@st.com>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
Cc: stable@kernel.org
parent c698ca52
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment