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 /tools/perf/scripts/python | |
| parent | nvmem: core: verify cell's raw_len (diff) | |
| download | linux-6786484223d5705bf7f919c1e5055d478ebeec32.tar.gz linux-6786484223d5705bf7f919c1e5055d478ebeec32.zip | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
