From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 102A2BA4F for ; Tue, 7 Mar 2023 19:11:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6A883C433D2; Tue, 7 Mar 2023 19:11:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1678216312; bh=9ns6KDa98YvFpirUE9vMea+DqLZg8SkYY/Unfcm9Ors=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lNsOv/XwtRoMYCBm67mmCmUNmdNnjTNTjvHwbUEKFVy/pKgCqq58SHwp38kYQ+9C1 I0bKGQFGq/V9zDpOa4j7T/yp2F5CxYSS2sf3NPo/5zClBv9Q4N2VAljiYSHd/D3Qpt E+P2VijBeW9bMc/wuQME0HetPcXvQE3CFfQ2Giqs= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Saurav Kashyap , Nilesh Javali , Himanshu Madhani , "Martin K. Petersen" Subject: [PATCH 5.15 544/567] scsi: qla2xxx: Remove increment of interface err cnt Date: Tue, 7 Mar 2023 18:04:40 +0100 Message-Id: <20230307165929.529664271@linuxfoundation.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230307165905.838066027@linuxfoundation.org> References: <20230307165905.838066027@linuxfoundation.org> User-Agent: quilt/0.67 Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Saurav Kashyap commit d676a9e3d9efb7e93df460bcf4c445496c16314f upstream. Residual underrun is not an interface error, hence no need to increment that count. Fixes: dbf1f53cfd23 ("scsi: qla2xxx: Implementation to get and manage host, target stats and initiator port") Cc: stable@vger.kernel.org Signed-off-by: Saurav Kashyap Signed-off-by: Nilesh Javali Reviewed-by: Himanshu Madhani Signed-off-by: Martin K. Petersen Signed-off-by: Greg Kroah-Hartman --- drivers/scsi/qla2xxx/qla_isr.c | 2 -- 1 file changed, 2 deletions(-) --- a/drivers/scsi/qla2xxx/qla_isr.c +++ b/drivers/scsi/qla2xxx/qla_isr.c @@ -3350,8 +3350,6 @@ qla2x00_status_entry(scsi_qla_host_t *vh "Dropped frame(s) detected (0x%x of 0x%x bytes).\n", resid, scsi_bufflen(cp)); - vha->interface_err_cnt++; - res = DID_ERROR << 16 | lscsi_status; goto check_scsi_status; }