From patchwork Thu Jun 1 23:27:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 9761347 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3768C602BC for ; Thu, 1 Jun 2017 23:27:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2986328524 for ; Thu, 1 Jun 2017 23:27:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1E36728544; Thu, 1 Jun 2017 23:27:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7570328524 for ; Thu, 1 Jun 2017 23:27:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751145AbdFAX13 (ORCPT ); Thu, 1 Jun 2017 19:27:29 -0400 Received: from esa6.hgst.iphmx.com ([216.71.154.45]:64778 "EHLO esa6.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751159AbdFAX1X (ORCPT ); Thu, 1 Jun 2017 19:27:23 -0400 X-IronPort-AV: E=Sophos;i="5.39,281,1493654400"; d="scan'208";a="23392905" Received: from mail-dm3nam03lp0018.outbound.protection.outlook.com (HELO NAM03-DM3-obe.outbound.protection.outlook.com) ([207.46.163.18]) by ob1.hgst.iphmx.com with ESMTP; 02 Jun 2017 07:27:22 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector1-sharedspace-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=5+XAPgK4r/OJyZ0IhqOw9G0TEAlXpLPe8PipVQBqyqY=; b=txemEBHnDIAk1XKoqjQAhVv2h7/pVJafVGh2+74eFB2oU4uOWIFQny2C9iWalKusYDsvt8jCRyd1k9HJ8ikwxD2Sz0eCFRTCQsf2w/+dF89F+tpFGFo8Dv7nyKkfkvSUHnPxAqMJyafurU+IZ1+VEUnRSXjhB+F7a/zFRwobNtI= Received: from MWHPR04CA0025.namprd04.prod.outlook.com (10.172.163.11) by CY1PR0401MB0922.namprd04.prod.outlook.com (10.160.160.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1124.9; Thu, 1 Jun 2017 23:27:20 +0000 Received: from CO1NAM04FT020.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4d::204) by MWHPR04CA0025.outlook.office365.com (2603:10b6:300:ee::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1143.10 via Frontend Transport; Thu, 1 Jun 2017 23:27:19 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.21) smtp.mailfrom=sandisk.com; HansenPartnership.com; dkim=none (message not signed) header.d=none; HansenPartnership.com; dmarc=bestguesspass action=none header.from=sandisk.com; Received-SPF: Pass (protection.outlook.com: domain of sandisk.com designates 63.163.107.21 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.21; helo=milsmgep15.sandisk.com; Received: from milsmgep15.sandisk.com (63.163.107.21) by CO1NAM04FT020.mail.protection.outlook.com (10.152.90.63) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1101.12 via Frontend Transport; Thu, 1 Jun 2017 23:27:18 +0000 Received: from MILHUBIP04.sdcorp.global.sandisk.com (Unknown_Domain [10.201.67.162]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by (Symantec Messaging Gateway) with SMTP id 56.A8.51736.4D2A0395; Thu, 1 Jun 2017 16:27:17 -0700 (PDT) Received: from milsmgip11.sandisk.com (10.177.9.6) by MILHUBIP04.sdcorp.global.sandisk.com (10.177.9.97) with Microsoft SMTP Server id 14.3.319.2; Thu, 1 Jun 2017 16:27:14 -0700 X-AuditID: 0ac94369-6dc8f9800000ca18-a3-5930a2d49b9d Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.9.6]) by (Symantec Messaging Gateway) with SMTP id 61.93.11415.3D2A0395; Thu, 1 Jun 2017 16:27:15 -0700 (PDT) From: Bart Van Assche To: "Martin K . Petersen" , James Bottomley CC: , Christoph Hellwig , "Bart Van Assche" , Narsimhulu Musini , Sesidhar Baddela , Johannes Thumshirn Subject: [PATCH v2 10/12] snic: Remove code that zeroes driver-private command data Date: Thu, 1 Jun 2017 16:27:09 -0700 Message-ID: <20170601232711.29062-11-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170601232711.29062-1-bart.vanassche@sandisk.com> References: <20170601232711.29062-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrPLMWRmVeSWpSXmKPExsXCddJ5ke7VRQaRBke/cVqsXH2UyWJjP4fF 464ZrBbd13ewWSw//o/J4suavcwW3b9mMjqwe0z5vZHVY9qkU2weu282sHl8fHqLxWPz6WqP z5vkAtiiuGxSUnMyy1KL9O0SuDIWbXnHUrCPo2JL63mWBsbp7F2MnBwSAiYSz/6eY+pi5OIQ EljKJDHt+2dGCGcro8T0qYcZYar2/7gDldjIKHHpyCGwBJuAkcS39zNZQGwRgUKJS9s6wIqY BV4zShyY0QK2Q1ggWOLItzvMIDaLgIrEua5FYHFeAQeJbf09UBvkJc5u2QlWwwkU39dyhg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UOI9EBAAA= MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:63.163.107.21; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(39860400002)(39840400002)(39450400003)(39400400002)(39850400002)(39410400002)(2980300002)(438002)(189002)(199003)(9170700003)(48376002)(1076002)(478600001)(81166006)(54906002)(50986999)(8676002)(72206003)(5660300001)(6666003)(356003)(8936002)(50466002)(5003940100001)(189998001)(305945005)(2950100002)(50226002)(36756003)(77096006)(106466001)(86362001)(38730400002)(47776003)(76176999)(53936002)(33646002)(2906002)(4326008); DIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR0401MB0922; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; CO1NAM04FT020; 1:6zsdXGtG9lAwfebjS+vneddlbUxk/6oRePsfHi5gunUgPZBW74N3M3TcRuFv8yMpUE2Pfa6UKJeLMvS7tsvnzJZlMZy1FMZEnGKrzKRdrrqEAp26iG57TyLRvjTLwEnUGdU7OhMXf5udeLjptwGdgADo3RG4jR6TkZirH+HdVgJeCdclz2050fjF/NKl64PiiHhtx08m27I/f27HraQ1SNzpzX5yeyBGtDr+NqJfqA2JfjP14Z7sUnC04pFjE1aDssuiXz3t0tdYVPPX6EKqtXhqwROTmDDHH4ii+ghlFyVpX1M/oVMXxbhibqKXLSuJbOein9kSHtXILHK23D0MJ040ONvGkWGRWEVdyB5OwmLnMqikAdjS7jRxNgEjtWCHbi0S7zfdn9nEIYaFg5gEm+bH8Zk7dFRGCr/ecv/Gd7EnoxFZDJgI+kQ3+2wHlhxbDKbX3kf8FukszjyOkpOE1E+UWQgmJklZnraVuldRz5Hmx4BylazgOyOHPxeyqMuKxPEPXCHmUcEBFyH1r2PN5mtDAI+sdMQcp4kyg/y1iv6yXbSz0NwyFRkhMHhC9zeA X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY1PR0401MB0922: X-MS-Office365-Filtering-Correlation-Id: 24681e96-4543-4d6c-62ac-08d4a945bf77 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081)(201702281549075); SRVR:CY1PR0401MB0922; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0401MB0922; 3:qSyf4SpW/07V95+GpykndAdbMWE9TrpjSHRJdGJGp4dLKoIUo8gsEogUfzo9SGUBQGj1M+pYy5oBI0hwEv/jfB9BpUSH6n4UuNNt+VivcMwgMTpBP7TZISupLvNQorNtMgmwYmY8yLXRjiaT8EceREhUAg/4lh7D3cR38BeaM47TjylvqWu1jrvaVEsXpvuk2agl/e+6lP9syWcnfC/gpZSSN9HLjKneGOL1Wxz7dju9KAjSmCGkvSccMgAP3KW7JHVzn7C1CuQg8t7HtGBirJpAR828DfItl5Gtrexuq6YlzgnYlyd1Lt9whWgCOWR6pnGFvOi7kTxLEqXozHzrEuzjmnVa4DQCzWN688/ZLVTqeizhvcsxP7I1lWyEP+HmhTQqhdks7VjZQaSn5uc6ZGQufgCyrkesmVK9DwvyhJmopvhAY8d1oOq/4LVw3bQZ6HViSFyUZyWTgggE9kUNAE81Cg50F4st5aK4H33W/Wmps6G4Rv+ARRzdykY/t9fazVpKy/F9YgP/jz1Ah/CseQ== X-Microsoft-Exchange-Diagnostics: 1; CY1PR0401MB0922; 25:SGtPZHbP0hjk1DhegbN3SLlsdju417oGlfyoGgE+QbAULeTGnhwBoV4572rBv8F9ll0OkVSik/Z3Ucy1dKlUuYbYdY1eMRYcCt3F8ycRNJE+8mS2as9uQ20+2A7oDGwLojAsowTW9kOHWwiaZ448RvZ+1YfeX/hgqIei38AWTBWwr0mV0HWizosnZ7yb8+fhz/eglDVaZtBgxVOKDxqHUq1SOVTgUFIjMp86ktw/+GKMq8fceyjXEk7GE0JpmHEJaM+4QKYp2erbeNOdk0waekdL/+gxASdm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Exchange-Antispam-Report-Test: UriScan:(95692535739014)(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(13016025)(8121501046)(5005006)(13018025)(3002001)(93006095)(93004095)(100000703101)(100105400095)(10201501046)(6055026)(6041248)(20161123560025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123562025)(20161123555025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY1PR0401MB0922; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY1PR0401MB0922; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0401MB0922; 4:HaKt6zZwGz8RKXgicShHdRbIqL7Fo/1zVfXEcLuD?= =?us-ascii?Q?o+TI1Tft7wJvVCuzCmAh5d2nwWS4EHpfFV5tC2F/ZNShgXb4LKK+R6VwMllv?= =?us-ascii?Q?po3pirlNQJQGjK9e+H3wG6OkezC4YbKRfLwGJdjpm5KSUjeuFfjzRLrnOHHG?= =?us-ascii?Q?OyFeLhAuDfzjeqpdiqiuQKO2XKjMsz2z4q26kazMgFL3faqNTn2DODB31gJx?= =?us-ascii?Q?2yd2wX6usHyfd5S7dUe79v02LQxDmbJ92xmi2wh6TBB2U0j5uryyU3kmGzcv?= =?us-ascii?Q?vU9AhCBvkNyb38mUKen4HXIlwdt3HKitEM1z3cxOWw4JZvxaJf7vQG5E4K6A?= =?us-ascii?Q?RUs+WLahk7EC32U3+IfVGvfQRofD6mb7kZVVglX31KyL5oEdLF0wYTtNHYUq?= =?us-ascii?Q?Ouiyf73vkm7LtkJwqHEi0ZmPRX6bq+p92i1gU5H+kWYHyISW8o5kQEDPQV5f?= =?us-ascii?Q?kf30dSWNRYjVjzf2poc1c16Te5m9MDnzBfcwvGUTGlLecmjvMmE7ve9re++d?= =?us-ascii?Q?5GD+DA0iAcOEfE41N+SXdzNYmqQPKGPYmkdsvHnV0yb7/UbMIi8U7bMP45p9?= =?us-ascii?Q?bVB2nKon/UDvnSPUuLMEr2JSQVIZY5Ww+jwQvIbZ/BWEyIh86q7cBJAZ7+/M?= =?us-ascii?Q?kufDv52eFYLGKIanK75C9SB2y7aBFy5BdGQyqnKvDqVsPN8Nw5TR48yKVAvK?= =?us-ascii?Q?XyNINJXdr5h/7eh9Ew5YIrCMbCjgj0vOSSzL/Gyx9awBtGxb+PwNjvaHDvu3?= =?us-ascii?Q?qRby4rbseK50Sduu141YbDF2WhRfvgTLh6ZwZyCNbtQt5trk8ec/NVY8sbfH?= =?us-ascii?Q?HpgGysbBJvb1Pj3qa30uk8IdqBG2g5LIx5NBLdlCCNT1ofSSvylPEi9hOZhQ?= =?us-ascii?Q?BBb1LinXay+S8A0miI3k1sOx83GmrCctbkwtS38L+AiJcaQUu/yqZjKb+AE4?= =?us-ascii?Q?8Jk6rtgsLr6oHcZHqaO8tzVLk3BbbexVqnhW1DDFlJdwyW4n0BhJqkV4zTwF?= =?us-ascii?Q?JixR+hA1tgnBwMFjf9Z47c+rA0gcGPmODEl7TnAQDjLCfy4ioOXJkyeLAZY+?= =?us-ascii?Q?+NTd74dwZlg4/xZDKwRfgQuQpPjG9F85rm9GSHXzm8tdstQqZjQZengMSspz?= =?us-ascii?Q?I/evwf+7Mgg42fIYn1ODKt5I4wZctjvX7CaU1Ite48jHAqRvdPYeZt8XuHsi?= =?us-ascii?Q?k1CjqRbrXPlNvR2Qa/eyTjLkruaOpYc5OarpZxRt29YS6PzRb6LVjlnAFl5/?= =?us-ascii?Q?dt3zLCTxZliYhxIIT4qeawNWlGZ5rWVbUUA4wgXHrrQfhEpK8DaCdRA+60SQ?= =?us-ascii?Q?3g=3D=3D?= X-Forefront-PRVS: 0325F6C77B X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0401M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?us-ascii?Q?m7HgfoiYiixMUQ0L1JupJ+EHVAEcbYOnRey/1qQeDi3xrJoNq+4KA9pOzDPx?= =?us-ascii?Q?4dBSFuR6gWK9rhbvdpiNuo9RzqK/96PsnQa7ooqxrsyTHB2N9HyYEJZB6dks?= =?us-ascii?Q?AwC1y/Qx6q7rbqSy1gxK9wwUxGNKeTh5MUILzh9+0iAvhEHigCD80wncALtB?= =?us-ascii?Q?k0FNZuz4=3D?= X-Microsoft-Exchange-Diagnostics: 1; CY1PR0401MB0922; 6:niu0jjKRsvCkfqmjVag0fFG90I6eEJVsL06HHD9Ks+kF3EjNy81pfLfwZTEJdEfuNpd2f/G3OGBc3403z3vmSQmKc897SuoPWkEWMmNvfysA09x9n4GpenXJj5U2s5pVejY9zWAyaeicqFSrXybcA459xSopIB34Aabruiry2SMtMRKw0q2gAGObhaZt28qkfXGnL6qMWElFYOoF+j5nit+HXQb9FfA7F1MqHlaYLg7c7TLNS/Pw/amPYvh+ZqaTpjakvkvTRcn+7ASKSWKGUrg7Z63T1hj7kILT5ygzsCaH+kD0YEYrZhYj/rZTvlK66AeEWuJHU31r+eUW4pwbCUfeYrTM3hcqZgjgYS4PYxQq3jA2XR8bdyeb2fOu2AlzpozFAAbJ1pkhdx4V5rjHohoztW483wBHhMrBtEB06cwtLpiXizvWh+hKnQBdMkmfoYm31NhJ8nRi+81Tactslzfrl5GB08W9FJdU8IrGX8wkgREoeGulxKisFiLvWixfu8NMjXQgChSgUtlw5F8srXJLFaBDNXCHaD8OeDskrx4= X-Microsoft-Exchange-Diagnostics: 1; CY1PR0401MB0922; 5:eJrG5ZKEBA5J6xQc5edxjHdAohuTbJ4ap1brzK3bUwW8s7rYc9fdFyCOFYWR2fmIT/ebKzdPLqu6/FfUzjOw6Kfijvr609ZW1UWlutmpzgTANAHmABKsXNclO4zviLnF78ZN+vDIzOy7jK9cmkVHnRKoxKOJwWAp0bnisf8R7XTsd2kV/leF4nVXytGYJzunUlUUYPXtQuidAhchQTQybMywo1gs83DZusIerf4ULuNBqY2YoMbeAtIaky4lnPFJQmAry6wByAF70nIYqlIuLonqg+ys0vqoTUX6Cva0ihDkFBWqtANZwCWNuh0KxTKLA/Pxnkoy7uIw8TkhuVgEO467xBUqSnnMjn51tmIDwj3ZQ8JkBPrJsaTCRFJj68tXvBb8KB0JASjtm5HLexPISDoohT75qXYesQD/0/+LUVvQEkJN+Nilzjb6GaxNePL7lwgAP5k642GM278x0wDBTK99DBMGyDrfDMmzBq7dI4E9F8nG8gW2lAmiGlVFBrRH; 24:drmlQGfHe+ar1QBQzjb6pJDQacp/nAsvdDAfUTca/RxKdb9WAc7As0VL46H6fhK0Im2Ry61bryA0tx0RhLW1OL7WS52mhoKARh35oc36mzw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR0401MB0922; 7:4Iie3RIqDX2Dzvi5BVxXO3jgp4J8eAtlaglQ4I4acuVTmw+CsRg7p+HIXXfH+B2pR/CUTuPxeIsaWWMml9x1j4iIlGpW72CpnEh02DA5YRuthHDgbXHGg1vORvyi7ouf5+cQXIWijdaqRbOH+KkYCAfBQrBy/pQG+gylXtPzWaIs18k2QDEMLMcGrQLssgoNDea/5wXS+Mt8mNqNtYIZg+xtF5ElzGZ+cadhUQd5plNk7SHR0lK4KpO78/M2fTN8aNAeQ+RVX1OcAEVChj+MdyF3tOc+APAV9qmqD0OUtYkDLuVaJbEem5811V3iaGiN2jn5eV0H2MnLJR0ah9RVXQ==; 20:RLL/qLkvpBn3SySbhCNdTWKVPYwt3yDiPEiqwtVXHyBTh7GYWOejtarsykGMxl2HBoOyALWPfFI1SPszQOAR0806Dt7frBR9u3/VZdPMev2sEtaqW6KVPFYga0wwSo+70GWHG8WaK7R7wGOJRtdDJ1yeNfjGAxCVOtX5H+59qOE= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jun 2017 23:27:18.8535 (UTC) X-MS-Exchange-CrossTenant-Id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=b61c8803-16f3-4c35-9b17-6f65f441df86; Ip=[63.163.107.21]; Helo=[milsmgep15.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0401MB0922 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Since the SCSI core zeroes driver-private command data, remove that code from the snic driver. Signed-off-by: Bart Van Assche Reviewed-by: Hannes Reinecke Cc: Narsimhulu Musini Cc: Sesidhar Baddela Cc: Christoph Hellwig Cc: Johannes Thumshirn Reviewed-by: Christoph Hellwig --- drivers/scsi/snic/snic_scsi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/scsi/snic/snic_scsi.c b/drivers/scsi/snic/snic_scsi.c index da979a73baa0..05c3a7282d4a 100644 --- a/drivers/scsi/snic/snic_scsi.c +++ b/drivers/scsi/snic/snic_scsi.c @@ -359,8 +359,6 @@ snic_queuecommand(struct Scsi_Host *shost, struct scsi_cmnd *sc) SNIC_SCSI_DBG(shost, "sc %p Tag %d (sc %0x) lun %lld in snic_qcmd\n", sc, snic_cmd_tag(sc), sc->cmnd[0], sc->device->lun); - memset(scsi_cmd_priv(sc), 0, sizeof(struct snic_internal_io_state)); - ret = snic_issue_scsi_req(snic, tgt, sc); if (ret) { SNIC_HOST_ERR(shost, "Failed to Q, Scsi Req w/ err %d.\n", ret);