diff options
| author | Markus Schneider-Pargmann <[email protected]> | 2024-02-24 11:45:16 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-03-07 20:21:53 +0000 |
| commit | def3173d4f17b37cecbd74d7c269a080b0b01598 (patch) | |
| tree | 6b1a5348f15e617dd6f0e99b536de2fcadb1ca66 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
| parent | 8ec0faf2572216b4e25d6829cd41cf3ee2dab979 (diff) | |
nvmem: core: Print error on wrong bits DT property
The algorithms in nvmem core are built with the constraint that
bit_offset < 8. If bit_offset is greater the results are wrong. Print an
error if the devicetree 'bits' property is outside of the valid range
and abort parsing.
Signed-off-by: Markus Schneider-Pargmann <[email protected]>
Signed-off-by: Srinivas Kandagatla <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions