diff options
author | 2015-09-30 13:35:15 +0100 | |
---|---|---|
committer | 2015-10-04 12:09:43 +0100 | |
commit | cbf854ab36870b931aeba4edd954015b7c3005a2 (patch) | |
tree | 07ceaff2d1e55a202a13f35e9685c27f34712432 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | nvmem: core: fix the out-of-range leak in read/write() (diff) | |
download | linux-dev-cbf854ab36870b931aeba4edd954015b7c3005a2.tar.xz linux-dev-cbf854ab36870b931aeba4edd954015b7c3005a2.zip |
nvmem: core: Handle shift bits in-place if cell->nbits is non-zero
It's pointless to test (cell->bit_offset || cell->bit_offset).
nvmem_shift_read_buffer_in_place() should be called when
(cell->bit_offset || cell->nbits).
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions