diff options
author | Fabio Estevam <festevam@gmail.com> | 2020-12-03 00:24:47 +0100 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2020-12-04 20:46:03 +0100 |
commit | ce662ccde5c6ae4f4d89fe71570bf59441004eb9 (patch) | |
tree | 4a33442446672634ff67169622ef170de04a2150 /samples/pidfd | |
parent | thermal: rcar_gen3_thermal: Do not use interrupts for normal operation (diff) | |
download | linux-ce662ccde5c6ae4f4d89fe71570bf59441004eb9.tar.xz linux-ce662ccde5c6ae4f4d89fe71570bf59441004eb9.zip |
thermal: imx8mm: Print the correct error code
Currently the error message does not print the correct error code.
Fix it by initializing 'ret' to the proper error code.
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20201202232448.2692-1-festevam@gmail.com
Diffstat (limited to 'samples/pidfd')
0 files changed, 0 insertions, 0 deletions