diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-05-07 20:02:48 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-14 14:39:50 +0300 |
commit | 20be064ec864086bca7a4eb62c772a397b44afb7 (patch) | |
tree | 1cf63f22b99adf1b062bc1c028d5fd509d5b6a44 /drivers/uio | |
parent | dccdb2fcd239d5fe281e7dd371a75e578f535a5b (diff) | |
download | linux-20be064ec864086bca7a4eb62c772a397b44afb7.tar.xz |
nvmem: sprd: Fix an error message
'ret' is known to be 0 here.
The expected error status is stored in 'status', so use it instead.
Also change %d in %u, because status is an u32, not a int.
Fixes: 096030e7f449 ("nvmem: sprd: Add Spreadtrum SoCs eFuse support")
Acked-by: Chunyan Zhang <zhang.lyra@gmail.com>
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/5bc44aace2fe7e1c91d8b35c8fe31e7134ceab2c.1620406852.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/uio')
0 files changed, 0 insertions, 0 deletions