diff options
author | Andrew Goodbody <andrew.goodbody@linaro.org> | 2025-08-01 11:39:14 +0100 |
---|---|---|
committer | Michael Trimarchi <michael@amarulasolutions.com> | 2025-08-03 10:20:16 +0200 |
commit | 4003ed1c1ecfc88092a1d3c65bf432ab7c2ea15f (patch) | |
tree | cf40e4f9ea68dd22e78a23cc7f9e3f55f92b968c /arch/arm/mach-socfpga/include/mach/misc.h | |
parent | 42ef9a0b7f26ccd7b657e9686a406ee83b8bd08d (diff) |
mtd: rawnand: stm32_fmc2: Ensure to return error code
In stm32_fmc2_nfc_probe there are 3 error returns that do not set the
error code before returning which could lead to the error being silently
ignored. Just return -EINVAL in each case.
This issue was found by Smatch.
Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Diffstat (limited to 'arch/arm/mach-socfpga/include/mach/misc.h')
0 files changed, 0 insertions, 0 deletions