From b0133418e3bc4bda4803e5e3d45c94fedd28abfd Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 21 May 2013 18:18:37 +0000 Subject: [PATCH] fcst: Fix a bug in a pre-2.6.36 error path. This was spotted by both sparse and smatch. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4873 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 631b2ec94..c7b77370e 100644 --- a/fcst/ft_cmd.c +++ b/fcst/ft_cmd.c @@ -461,7 +461,7 @@ static void ft_send_resp_status(struct fc_frame *rx_fp, u32 status, lport->tt.seq_send(lport, sp, fp); out: - lport->tt.exch_done(sp); + lport->tt.exch_done(fr_seq(rx_fp)); #else fc_fill_reply_hdr(fp, rx_fp, FC_RCTL_DD_CMD_STATUS, 0); sp = fr_seq(fp);