Skip to content
Unverified Commit c3d79fda authored by Ilpo Järvinen's avatar Ilpo Järvinen Committed by Xu Yilun
Browse files

fpga: m10bmc-sec: Fix rsu_send_data() to return FW_UPLOAD_ERR_HW_ERROR



rsu_send_data() should return FW_UPLOAD_ERR_* error codes instead of
normal -Exxxx codes. Convert <0 return from ->rsu_status() to
FW_UPLOAD_ERR_HW_ERROR.

Fixes: 001a734a ("fpga: m10bmc-sec: Make rsu status type specific")
Signed-off-by: default avatarIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: default avatarRuss Weight <russell.h.weight@intel.com>
Cc: <stable@vger.kernel.org>
Acked-by: default avatarXu Yilun <yilun.xu@intel.com>
Link: https://lore.kernel.org/r/20230208080846.10795-1-ilpo.jarvinen@linux.intel.com


Signed-off-by: default avatarXu Yilun <yilun.xu@intel.com>
parent fe15c26e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment