From c484c03a85993fc6d690d1248e30a1c5bc8d642d Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 21 May 2020 16:46:13 +0000 Subject: [PATCH] fcst: Fix an assignment in ft_recv_cmd(). This was detected by gcc 10 git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8947 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- fcst/ft_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fcst/ft_cmd.c b/fcst/ft_cmd.c index 36eb36450..e14e5346f 100644 --- a/fcst/ft_cmd.c +++ b/fcst/ft_cmd.c @@ -617,7 +617,7 @@ static void ft_recv_cmd(struct ft_sess *sess, struct fc_frame *fp) goto busy; fcmd->scst_cmd = cmd; scst_cmd_set_tgt_priv(cmd, fcmd); - cmd->state = FT_STATE_NEW; + fcmd->state = FT_STATE_NEW; fcmd->seq = sp; #ifdef NEW_LIBFC_API