diff options
author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2025-04-11 12:22:47 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-04-11 14:41:21 +0200 |
commit | 13bcd440f2ff38cd7e42a179c223d4b833158b33 (patch) | |
tree | 9fc7eac2972677c7e112c4523dab24d4edfdb62f /scripts/generate_rust_analyzer.py | |
parent | 7a06ef75107799675ea6e4d73b9df37e18e352a8 (diff) |
nvmem: core: verify cell's raw_len
Check that the NVMEM cell's raw_len is a aligned to word_size. Otherwise
Otherwise drivers might face incomplete read while accessing the last
part of the NVMEM cell.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20250411112251.68002-10-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions