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: 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-09-30 10:11:04 +02:00
..
2019-08-24 11:38:29 -07:00
2018-10-16 11:13:50 +02:00
2018-10-16 11:13:50 +02:00
2018-10-16 11:13:50 +02:00
2019-07-24 14:11:52 -07:00
2019-07-24 14:11:52 -07:00
2019-08-18 17:40:02 -07:00
2020-06-18 18:12:06 -07:00
2020-07-06 21:34:46 -07:00
2020-07-27 11:49:37 +02:00
2019-09-03 19:35:41 -07:00
2018-10-16 11:13:50 +02:00
2020-07-06 21:35:42 -07:00
2020-07-06 21:35:42 -07:00
2019-07-03 19:58:58 +02:00
2021-08-12 13:22:15 +02:00
2020-05-29 11:04:56 -04:00
2018-11-26 20:47:10 +01:00
2020-04-28 15:49:28 +02:00
2021-05-11 14:47:19 +02:00
2020-09-09 20:28:16 -07:00
2020-09-09 20:28:16 -07:00
2020-06-18 18:25:42 -07:00
2020-06-18 18:24:16 -07:00
2020-09-04 20:27:45 -07:00
2020-04-29 20:37:08 -07:00
2020-12-01 18:46:24 +01:00
2021-09-30 10:11:04 +02:00
2020-04-28 15:49:28 +02:00
2019-06-24 05:22:31 +02:00
2021-07-19 09:44:59 +02:00
2020-01-02 20:57:34 -08:00
2020-01-10 12:51:56 -08:00
2021-05-14 09:50:06 +02:00
2020-03-30 20:45:21 -07:00
2020-04-28 15:45:09 +02:00