Jiapeng Chong
b869901cab
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:09:23 +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-24 17:50:29 +02:00
2019-09-03 19:35:41 -07:00
2020-07-29 10:18:31 +02:00
2019-09-03 19:35:41 -07:00
2018-10-16 11:13:50 +02:00
2019-09-03 19:35:41 -07:00
2019-09-03 19:35:41 -07:00
2019-07-03 19:58:58 +02:00
2019-08-05 18:01:24 +02:00
2018-11-26 20:47:10 +01:00
2019-09-03 19:35:41 -07:00
2020-07-29 10:18:31 +02:00
2019-09-03 19:35:40 -07:00
2019-09-03 19:35:41 -07:00
2019-07-30 13:07:41 +02:00
2019-07-30 13:07:41 +02:00
2018-10-16 11:13:50 +02:00
2019-06-05 17:37:17 +02:00
2019-09-03 19:35:07 -07:00
2021-09-30 10:09:23 +02:00
2019-09-03 19:35:41 -07:00
2019-06-24 05:22:31 +02:00
2021-07-19 08:53:15 +02:00
2019-06-05 17:36:37 +02:00
2019-06-05 17:36:37 +02:00
2019-06-05 17:37:15 +02:00
2019-06-05 17:36:37 +02:00
2019-05-30 07:56:11 -07:00