Skip to content
Commit 54302ac6 authored by Erwan Gouriou's avatar Erwan Gouriou Committed by Carles Cufí
Browse files

drivers: flash: stm32 ospi: Limit bytes read from DT SFDP table



In case SFDP table is provided via device tree, take care not reading
more than expected by the function caller as the result is written
in a structure which size is predefined by one specific byte in the
table, and could be smaller than the table size.

Signed-off-by: default avatarErwan Gouriou <erwan.gouriou@linaro.org>
parent 62fa415f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment