diff options
author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2025-04-11 12:22:48 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-04-11 14:41:21 +0200 |
commit | 6786484223d5705bf7f919c1e5055d478ebeec32 (patch) | |
tree | d7aec2ab987c3f4438a2d150779e8ea168f5fb8e /scripts/generate_rust_analyzer.py | |
parent | 13bcd440f2ff38cd7e42a179c223d4b833158b33 (diff) |
nvmem: core: update raw_len if the bit reading is required
If NVMEM cell uses bit offset or specifies bit truncation, update
raw_len manually (following the cell->bytes update), ensuring that the
NVMEM access is still word-aligned.
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-11-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