On Mon, 16 Jan 2023, Ilpo Järvinen wrote: > RSU_STAT_* and RSU_PROG_* checks are done in more than one place in the sec > update code. Move the checks into new helper functions. > > No function changes intended. > > Co-developed-by: Tianfei zhang <tianfei.zhang@xxxxxxxxx> > Signed-off-by: Tianfei zhang <tianfei.zhang@xxxxxxxxx> > Co-developed-by: Russ Weight <russell.h.weight@xxxxxxxxx> > Signed-off-by: Russ Weight <russell.h.weight@xxxxxxxxx> > Acked-by: Xu Yilun <yilun.xu@xxxxxxxxx> > Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx> > --- > drivers/fpga/intel-m10-bmc-sec-update.c | 59 +++++++++++++------------ > 1 file changed, 31 insertions(+), 28 deletions(-) Applied, thanks -- Lee Jones [李琼斯]