tmp_suning_uos_patched/drivers/fpga
Jiapeng Chong c6ecdcba9d fpga: machxo2-spi: Fix missing error code in machxo2_write_complete()
[ Upstream commit a1e4470823d99e75b596748086e120dea169ed3c ]

The error code is missing in this code scenario, add the error code
'-EINVAL' to the return value 'ret'.

Eliminate the follow smatch warning:

drivers/fpga/machxo2-spi.c:341 machxo2_write_complete()
  warn: missing error code 'ret'.

[mdf@kernel.org: Reworded commit message]
Fixes: 88fb3a0023 ("fpga: lattice machxo2: Add Lattice MachXO2 support")
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Moritz Fischer <mdf@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-09-30 10:11:04 +02:00
..
altera-cvp.c
altera-fpga2sdram.c
altera-freeze-bridge.c
altera-hps2fpga.c
altera-pr-ip-core-plat.c
altera-pr-ip-core.c
altera-ps-spi.c
dfl-afu-dma-region.c fpga: dfl: afu: convert get_user_pages() --> pin_user_pages() 2020-06-18 18:12:06 -07:00
dfl-afu-error.c fpga: dfl: afu: add interrupt support for port error reporting 2020-07-06 21:34:46 -07:00
dfl-afu-main.c Linux 5.8-rc7 2020-07-27 11:49:37 +02:00
dfl-afu-region.c
dfl-afu.h
dfl-fme-br.c
dfl-fme-error.c fpga: dfl: fme: add interrupt support for global error reporting 2020-07-06 21:35:42 -07:00
dfl-fme-main.c fpga: dfl: fme: add interrupt support for global error reporting 2020-07-06 21:35:42 -07:00
dfl-fme-mgr.c
dfl-fme-perf.c fpga: dfl: fme: Fix cpu hotplug issue in performance reporting 2021-08-12 13:22:15 +02:00
dfl-fme-pr.c
dfl-fme-pr.h
dfl-fme-region.c
dfl-fme.h
dfl-pci.c fpga: dfl: pci: add DID for D5005 PAC cards 2021-05-11 14:47:19 +02:00
dfl.c fpga: dfl: create a dfl bus type to support DFL devices 2020-09-09 20:28:16 -07:00
dfl.h fpga: dfl: create a dfl bus type to support DFL devices 2020-09-09 20:28:16 -07:00
fpga-bridge.c fpga: Fix dead store in fpga-bridge.c 2020-06-18 18:25:42 -07:00
fpga-mgr.c fpga: Fix dead store fpga-mgr.c 2020-06-18 18:24:16 -07:00
fpga-region.c fpga: fpga-region: Cleanup an outdated comment 2020-09-04 20:27:45 -07:00
ice40-spi.c
Kconfig fpga: Specify HAS_IOMEM dependency for FPGA_DFL 2020-12-01 18:46:24 +01:00
machxo2-spi.c fpga: machxo2-spi: Fix missing error code in machxo2_write_complete() 2021-09-30 10:11:04 +02:00
Makefile
of-fpga-region.c
socfpga-a10.c
socfpga.c
stratix10-soc.c fpga: stratix10-soc: Add missing fpga_mgr_free() call 2021-07-19 09:44:59 +02:00
ts73xx-fpga.c
xilinx-pr-decoupler.c
xilinx-spi.c fpga: fpga-mgr: xilinx-spi: fix error messages on -EPROBE_DEFER 2021-05-14 09:50:06 +02:00
zynq-fpga.c
zynqmp-fpga.c