Message ID | SE1P216MB228778D3FDBBE2C3A45FB9A7FD2E2@SE1P216MB2287.KORP216.PROD.OUTLOOK.COM (mailing list archive) |
---|---|
State | New |
Headers | show
Received: from PUWP216CU001.outbound.protection.outlook.com (mail-koreasouthazon11020139.outbound.protection.outlook.com [52.101.156.139]) (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 9BAAC198A19; Mon, 25 Nov 2024 11:21:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.156.139 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732533701; cv=fail; b=COPiiFuExCIyyxNHTVGXO38+Wg49F4SBnY5JDCXuku0VICo1xZr0S1wemmRUgCdeguNbG6Z7K88KeXTfQyOp7BDFHzCszxYCVFEET6QTfWkJzaQSZ5MDvlhBOhZ1Gz050B1PkAnL4hVj/7Q8gv6RKVxr+IX81Y+7+hZAzjKEdII= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732533701; c=relaxed/simple; bh=TQzQzqPoVX3t86N+eoYcAWGHm+nyrgNnBgR7RJdZ2iw=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=ugARSSdi/o6lq+WkTjG6l8QsdbcwDtB2b7mBhqU8YuUeZhSO5YCXFPknNOB6Spsw2qQ8lxKS+pIhOj5JQEql34/tfqINTjfTNff2nAhYne+eUMP8hf6QAccDK3Uhzk0ngwoxZlTz0bttQVGZ27GfV5cjAC6m4xTNWutRzRFPVAA= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=unist.ac.kr; spf=pass smtp.mailfrom=unist.ac.kr; dkim=pass (1024-bit key) header.d=unist.ac.kr header.i=@unist.ac.kr header.b=PZNXFSVT; arc=fail smtp.client-ip=52.101.156.139 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=unist.ac.kr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=unist.ac.kr Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=unist.ac.kr header.i=@unist.ac.kr header.b="PZNXFSVT" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=wkuOxdzKLblxQiMjxM0qDio9CD8gVc76W/yOF7Fk8DJG/72iQLKKrcegyZnRQ7Vma15TTDKeTm4+wShyXC2z/Ehr8tMXFCHnv9XeNTrf00yqAg4oPNcl3JVnA/8Fb0YAYE01v+mNh9961GWdT69W68kCWmMgKPEkV1JkmR9Oylp46yaseNOFOYN0wTeBcf/2NUzP1+tynufTLv8YCU5FlbeuGF99V8qWMI8ocjnQGEAP0nzqoUs8IvKl/xNq2uQM6CqXPJ4tuw0h7Q4MTXGeCTqdNrnU5GPelvgI6Of34x33mC9n+6mlMUiCuKKvs1v8cvA+cYk7cgHpEbFO+/qNRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=TQzQzqPoVX3t86N+eoYcAWGHm+nyrgNnBgR7RJdZ2iw=; b=tviooZuoXiRzxvp5m0NQfsvXQCuqiThRyah2Ls0N6TFOw0fMcEuf9UOo4B18AWdnIx3twT+NJJ8A+a9/VuS6f5TZEjIBe/Aji+saloE2WQ0gEyfFu7krM9jrt7X1ABrDkJHhKCsMY5f2gzQ82Ya8ZDMgsKZLFl4A38dZVmzpN56fr517fxycgD2hPAqhJxLa/qpK6r1EO9rv/dxu2/Ua4N2WTmdezTyi5lUtxXjRvVlI5bQ/HheFJKStLNBXLJRNHUCFuTv7myWtQ4RZ5HU8IQJNXw35ig0rTTs2h31/BKyrWBV7BzrzIKqz6sGBD79OfQaP/tcthDR741o6vyTd2A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=unist.ac.kr; dmarc=pass action=none header.from=unist.ac.kr; dkim=pass header.d=unist.ac.kr; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unist.ac.kr; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TQzQzqPoVX3t86N+eoYcAWGHm+nyrgNnBgR7RJdZ2iw=; b=PZNXFSVTpHwawdnW+syU8a5LRobn/l66bGC90YmKYOKHNthbIFzSP1Zm2VUanHk1/q2ys6BlV1xYy3eyWLtKn6Iq6RR1y5mpDSI86NeDIb3lEOC2yUSYpWWkpSwBE5K4fXaQjtfFRcPxBXZ5y9MR6GQrCnKy8C3GyUSsR9IQioE= Received: from SE1P216MB2287.KORP216.PROD.OUTLOOK.COM (2603:1096:101:15d::5) by SE1P216MB1962.KORP216.PROD.OUTLOOK.COM (2603:1096:101:f6::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8182.20; Mon, 25 Nov 2024 11:21:35 +0000 Received: from SE1P216MB2287.KORP216.PROD.OUTLOOK.COM ([fe80::abfa:51df:7a24:2f06]) by SE1P216MB2287.KORP216.PROD.OUTLOOK.COM ([fe80::abfa:51df:7a24:2f06%6]) with mapi id 15.20.8182.019; Mon, 25 Nov 2024 11:21:35 +0000 From: =?utf-8?b?KO2VmeyDnSkg7J6l7J246recICjsu7Ttk6jthLDqs7XtlZnqs7wp?= <ingyujang25@unist.ac.kr> To: "James.Bottomley@HansenPartnership.com" <James.Bottomley@HansenPartnership.com>, "martin.petersen@oracle.com" <martin.petersen@oracle.com> CC: "njavali@marvell.com" <njavali@marvell.com>, "GR-QLogic-Storage-Upstream@marvell.com" <GR-QLogic-Storage-Upstream@marvell.com>, "linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org> Subject: [PATCH RESEND] qla2xxx: Fix START_SP_W_RETRIES returns positive EINVAL Thread-Topic: [PATCH RESEND] qla2xxx: Fix START_SP_W_RETRIES returns positive EINVAL Thread-Index: AQHbPyv85Cfgq/gmnkyVNLOsUVYuDrLH2dMJ Date: Mon, 25 Nov 2024 11:21:35 +0000 Message-ID: <SE1P216MB228778D3FDBBE2C3A45FB9A7FD2E2@SE1P216MB2287.KORP216.PROD.OUTLOOK.COM> References: <PU4P216MB228137E6848B4C5BB032D577FD562@PU4P216MB2281.KORP216.PROD.OUTLOOK.COM> <SE1P216MB228748FD61C2B6903FD2E26BFD2E2@SE1P216MB2287.KORP216.PROD.OUTLOOK.COM> In-Reply-To: <SE1P216MB228748FD61C2B6903FD2E26BFD2E2@SE1P216MB2287.KORP216.PROD.OUTLOOK.COM> Accept-Language: ko-KR, en-US Content-Language: ko-KR X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=unist.ac.kr; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SE1P216MB2287:EE_|SE1P216MB1962:EE_ x-ms-office365-filtering-correlation-id: b9ce9248-93b8-4412-b3bb-08dd0d435263 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230040|376014|1800799024|366016|41320700013|38070700018; x-microsoft-antispam-message-info: =?utf-8?q?28DlcZG1BGU1Mvt4hRBNb7+g0Awa2Ft?= =?utf-8?q?Q92WKgAGmOKrRIIlOfCBFY3sFS7qB2xz3tBV34dLhswIz/BT7d0Lc+2cXCBd+STK+?= =?utf-8?q?mkefkeMgew/SwYPKFYAao1k4UagWW4SSNouNICw5fz0FWLtjaw1VKgYp6ZJLMF6d0?= =?utf-8?q?7Bat4bxXAXrw9hZakrZ+N2fry0sRww5tYD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omLRN7MX/HM+muz?= =?utf-8?q?UydIiaxKY3bgwz4qK9dm638vMA9tbH6YeBvPTzWMswjuHcslSRy4zIkL5ZZoDcCXZ?= =?utf-8?q?qQ9KBT+LHYezKIYvbghIONU/KX6PyX966YLwxKGwvoypRhxJj9wX41wiuhjS7csyE?= =?utf-8?q?YmTL0ffHJCObyNtLzD502K1ypfD6I+epF1WMl09Q62+kgw/o6bTAO3h6GFePTDoBf?= =?utf-8?q?PLFLqF8rxSE0cYSBt2/IVPgmkUxcbwkeG8SD3+IsJWOHG1f2DFrHF73Be4oEjuIUY?= =?utf-8?q?oYI2ZNF/7ucD+IlCe49MUU8EK05L9OlkcA=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:ko;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SE1P216MB2287.KORP216.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(376014)(1800799024)(366016)(41320700013)(38070700018);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?q?cyWYMt3/YHf/BB2v7HANLQkDMMf8?= =?utf-8?q?5uEr157uez27UFcutUlaUjbW6IUSwhCMrG342H8JxL6hQWnlsWB1mX6X9XRLeejqF?= =?utf-8?q?O/XOS8TXJ3wr6RByHs0pZJ6y6EcI0dURsEtm3DLSACA3QkmWfyapvK6YAWKYtcTmI?= =?utf-8?q?ilC4EdOgPQKGnoe3PITTB1k2MacwaYZ4V41Y1x5mUTn0cePlCPoWvwFUUnIuXBXyL?= =?utf-8?q?jWCB4Q/q0WvOvSn/UlCDibOzJWwhq7H342mGsOLzKgBb9Z+iDKDWoXj/wxkxGyA1t?= =?utf-8?q?qptcEOl4J04goJ37vJLGhdEO/y+iUx52WpQrWMJ/dExTgbFsO0m4KbwiMVu1/tseN?= =?utf-8?q?EP/m8XMRxswrf1zxzwEkn4/S2fkqHIalPNylI5BhMQOAmfwRa46BgONJ7vN7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?vjeOtIwFxVBvaO2CStIywp+vnVMXDjzmY/X+vE38PfjbQ0Ofg1kdDiahQhB9jXGZd?= =?utf-8?q?4bIRnjFoR2ByaXhhmEfhrBuN4v84Id/ys2yIz5d2CYGImOWwo1aSgCj61Y/DF77Vl?= =?utf-8?q?hVFyA+EOiyWQc3KxQ0YRmJ984xKS+mP0FSfNy7FLOkv8oNKYhqKB6v87lYEgsEQ9F?= =?utf-8?q?rivuwvw5sdhycjIuL3OYd6xLdj6ZITFpi9ZSMZXVo6KDz0eEt2q7DN7pZ9BHMsr8T?= =?utf-8?q?osZivcC0BbST?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Precedence: bulk X-Mailing-List: linux-scsi@vger.kernel.org List-Id: <linux-scsi.vger.kernel.org> List-Subscribe: <mailto:linux-scsi+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-scsi+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-OriginatorOrg: unist.ac.kr X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SE1P216MB2287.KORP216.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: b9ce9248-93b8-4412-b3bb-08dd0d435263 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Nov 2024 11:21:35.2323 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: e8715ec0-6179-432a-a864-54ea4008adc2 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ex1ZPYYTPaNd04Oz8wfOjd+RsHOgXM5V8j3FDU6z6mPbpRQcHYKZ4RqnlK0fOfileCfoyyLpC0rcAnlMMNWdbw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SE1P216MB1962 |
Series |
[RESEND] qla2xxx: Fix START_SP_W_RETRIES returns positive EINVAL
|
expand
|
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index 31fc6a0eca3e..089d560e4114 100644 --- a/drivers/scsi/qla2xxx/qla_init.c +++ b/drivers/scsi/qla2xxx/qla_init.c @@ -2059,7 +2059,7 @@ static void qla_marker_sp_done(srb_t *sp, int res) int cnt = 5; \ do { \ if (_chip_gen != sp->vha->hw->chip_reset || _login_gen != sp->fcport->login_gen) {\ - _rval = EINVAL; \ + _rval = -EINVAL; \ break; \ } \ _rval = qla2x00_start_sp(_sp); \