[PATCHv1] firmware: fpga: replace the error codes with the standard ones

From: richard . gong
Date: Tue Mar 31 2020 - 12:09:36 EST


From: Richard Gong <richard.gong@xxxxxxxxx>

The Intel service layer driver has defined error codes for the
specific services, which started from FPGA configuration then RSU
(Remote Status Update).

Intel service layer driver should define the standard error codes
rather than keep adding more error codes for the new services.

The standard error codes will be used by all the clients of Intel service
layer driver.

Replace FPGA and RSU specific error codes with Intel service layerâs
Common error codes.

All changes need to be in one patch, otherwise it will break bisection.

Richard Gong (1):
firmware: fpga: replace the error codes with the standard ones

drivers/firmware/stratix10-rsu.c | 10 +--
drivers/firmware/stratix10-svc.c | 62 ++++++-------------
drivers/fpga/stratix10-soc.c | 25 +++-----
include/linux/firmware/intel/stratix10-smc.h | 49 +++++++--------
.../linux/firmware/intel/stratix10-svc-client.h | 71 +++++++++-------------
5 files changed, 84 insertions(+), 133 deletions(-)

--
2.7.4