mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
i2c: i2c-stm32f7: fix no check on returned setup
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>
This commit is contained in:
parent
f025072cbf
commit
834a06e598
1 changed files with 5 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue