summaryrefslogtreecommitdiff
path: root/drivers/slimbus
diff options
context:
space:
mode:
authorMathieu Malaterre <malat@debian.org>2018-05-11 12:07:03 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-14 16:20:48 +0200
commit50808bfcc14b854775a9f1d0abe3dac2babcf5c3 (patch)
tree4b0ab3b7be3ca0aea5514d0c568b8bede5c55be9 /drivers/slimbus
parentb378c779349c3383501e3e4ba9c2af225e655be3 (diff)
downloadlinux-rpi-50808bfcc14b854775a9f1d0abe3dac2babcf5c3.tar.gz
linux-rpi-50808bfcc14b854775a9f1d0abe3dac2babcf5c3.tar.bz2
linux-rpi-50808bfcc14b854775a9f1d0abe3dac2babcf5c3.zip
nvmem: properly handle returned value nvmem_reg_read
Function nvmem_reg_read can return a non zero value indicating an error. This returned value must be read and error propagated to nvmem_cell_prepare_write_buffer. Silence the following gcc warning (W=1): drivers/nvmem/core.c:1093:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] Signed-off-by: Mathieu Malaterre <malat@debian.org> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/slimbus')
0 files changed, 0 insertions, 0 deletions