Jiapeng Chong
3fa6a4a56d
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: 88fb3a002330 ("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-10-06 15:31:14 +02:00
..
2019-02-12 19:46:59 +01:00
2018-05-25 18:23:56 +02:00
2018-05-25 18:23:56 +02:00
2018-05-25 18:23:56 +02:00
2018-05-25 18:23:56 +02:00
2018-05-25 18:23:56 +02:00
2019-09-21 07:16:53 +02:00
2020-06-25 15:32:58 +02:00
2020-07-29 10:16:48 +02:00
2018-07-15 13:55:47 +02:00
2018-07-15 13:55:47 +02:00
2018-07-15 13:55:46 +02:00
2018-07-15 13:55:46 +02:00
2018-07-15 13:55:46 +02:00
2018-09-12 09:31:00 +02:00
2018-07-15 13:55:46 +02:00
2018-09-30 08:49:55 -07:00
2018-07-15 13:55:46 +02:00
2018-07-15 13:55:45 +02:00
2019-06-25 11:35:55 +08:00
2018-07-15 13:55:45 +02:00
2018-09-30 08:49:55 -07:00
2018-07-15 13:55:44 +02:00
2018-07-15 13:55:44 +02:00
2019-07-31 07:27:10 +02:00
2021-10-06 15:31:14 +02:00
2018-07-15 13:55:47 +02:00
2018-09-30 08:49:55 -07:00
2018-05-25 18:23:56 +02:00
2018-05-25 18:23:56 +02:00
2018-05-25 18:23:55 +02:00