Searched hist:"50808 bfcc14b854775a9f1d0abe3dac2babcf5c3" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/nvmem/ |
H A D | core.c | diff 50808bfcc14b854775a9f1d0abe3dac2babcf5c3 Fri May 11 13:07:03 CEST 2018 Mathieu Malaterre <malat@debian.org> 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>
|