aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorAxel Lin <[email protected]>2015-09-30 12:35:15 +0000
committerGreg Kroah-Hartman <[email protected]>2015-10-04 11:09:43 +0000
commitcbf854ab36870b931aeba4edd954015b7c3005a2 (patch)
tree07ceaff2d1e55a202a13f35e9685c27f34712432 /drivers/fpga/fpga-mgr.c
parentnvmem: core: fix the out-of-range leak in read/write() (diff)
downloadkernel-cbf854ab36870b931aeba4edd954015b7c3005a2.tar.gz
kernel-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 <[email protected]> Signed-off-by: Srinivas Kandagatla <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions