commit | 54302ac67d7eb37ce398ddd8162cd758f8fd5a44 | [log] [tgz] |
---|---|---|
author | Erwan Gouriou <erwan.gouriou@linaro.org> | Wed Aug 31 16:03:46 2022 +0200 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Mon Sep 05 10:17:21 2022 +0200 |
tree | e07b28ac1138b22df358f69b708dfbd02e81b092 | |
parent | 62fa415fe198a8e28427fa0b58f7f0c4c157b860 [diff] |
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: Erwan Gouriou <erwan.gouriou@linaro.org>