fpga: m10bmc-sec: Fix probe rollback
Handle probe error rollbacks properly to avoid leaks. Fixes: 5cd339b3 ("fpga: m10bmc-sec: add max10 secure update functions") Reviewed-by: NMatthew Gerlach <matthew.gerlach@linux.intel.com> Reviewed-by: NRuss Weight <russell.h.weight@intel.com> Reviewed-by: NMarco Pagani <marpagan@redhat.com> Signed-off-by: NIlpo Järvinen <ilpo.jarvinen@linux.intel.com> Cc: stable@vger.kernel.org Acked-by: NXu Yilun <yilun.xu@intel.com> Link: https://lore.kernel.org/r/20221214144952.8392-1-ilpo.jarvinen@linux.intel.comSigned-off-by: NXu Yilun <yilun.xu@intel.com>
Showing
想要评论请 注册 或 登录