Message ID | 20170524003420.5381-30-bart.vanassche@sandisk.com (mailing list archive) |
---|---|
State | Changes Requested, archived |
Headers | show
Return-Path: <linux-scsi-owner@kernel.org> 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 70A20602A7 for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 24 May 2017 00:35:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6461228867 for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 24 May 2017 00:35:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 591E32886B; Wed, 24 May 2017 00:35:53 +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=unavailable 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 F18E028867 for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 24 May 2017 00:35:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S968976AbdEXAfu (ORCPT <rfc822;patchwork-linux-scsi@patchwork.kernel.org>); Tue, 23 May 2017 20:35:50 -0400 Received: from esa3.hgst.iphmx.com ([216.71.153.141]:53630 "EHLO esa3.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1763400AbdEXAem (ORCPT <rfc822; linux-scsi@vger.kernel.org>); Tue, 23 May 2017 20:34:42 -0400 X-IronPort-AV: E=Sophos;i="5.38,383,1491235200"; d="scan'208";a="19885339" Received: from mail-sn1nam01lp0114.outbound.protection.outlook.com (HELO NAM01-SN1-obe.outbound.protection.outlook.com) ([207.46.163.114]) by ob1.hgst.iphmx.com with ESMTP; 24 May 2017 08:34:32 +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=pg/WbbkbZ44722/GZZ2LXvCo3TPRIYdEePLxhMzKinI=; b=YSQUL7eHXb8sygPDJuk9KH3x0zBcLLxuTzY1JQ64tOi0wlAd9kxWmOcP6OOWT8MAT3rjH7C4NVn8l3UMj0wbB2ctULmw61kPZ08S7uub8K5d1DuTWJcsZY/KcWj5g5qFyU4Gr+WTP2SAHn8YG9HjZE49ajm55gTAcAchP8pLx8Q= Received: from DM2PR04CA034.namprd04.prod.outlook.com (10.141.154.152) by MWHPR04MB0512.namprd04.prod.outlook.com (10.173.49.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1101.14; Wed, 24 May 2017 00:34:29 +0000 Received: from CO1NAM04FT028.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4d::208) by DM2PR04CA034.outlook.office365.com (2a01:111:e400:243c::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1124.9 via Frontend Transport; Wed, 24 May 2017 00:34:29 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.21) smtp.mailfrom=sandisk.com; cisco.com; dkim=none (message not signed) header.d=none;cisco.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 CO1NAM04FT028.mail.protection.outlook.com (10.152.90.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1075.5 via Frontend Transport; Wed, 24 May 2017 00:34:28 +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 7F.43.45291.315D4295; Tue, 23 May 2017 17:34:28 -0700 (PDT) Received: from milsmgip12.sandisk.com (10.177.8.100) by MILHUBIP04.sdcorp.global.sandisk.com (10.177.9.97) with Microsoft SMTP Server id 14.3.319.2; Tue, 23 May 2017 17:34:23 -0700 X-AuditID: 0ac94369-166ac9800001b0eb-0b-5924d5139e7a Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.9.6]) by (Symantec Messaging Gateway) with SMTP id 0C.A3.18148.F05D4295; Tue, 23 May 2017 17:34:23 -0700 (PDT) From: Bart Van Assche <bart.vanassche@sandisk.com> To: "Martin K . Petersen" <martin.petersen@oracle.com>, James Bottomley <James.Bottomley@HansenPartnership.com> CC: <linux-scsi@vger.kernel.org>, <linux-block@vger.kernel.org>, "Bart Van Assche" <bart.vanassche@sandisk.com>, Narsimhulu Musini <nmusini@cisco.com>, Sesidhar Baddela <sebaddel@cisco.com>, Christoph Hellwig <hch@lst.de>, "Hannes Reinecke" <hare@suse.com> Subject: [PATCH 29/31] scsi: snic: Remove code that zeroes driver-private command data Date: Tue, 23 May 2017 17:34:18 -0700 Message-ID: <20170524003420.5381-30-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170524003420.5381-1-bart.vanassche@sandisk.com> References: <20170524003420.5381-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrALMWRmVeSWpSXmKPExsXCddJ5ka7IVZVIg2dLOS0WvNnLZrFy9VEm i439HBZ7b2lbdF/fwWax/Pg/Josva/YyW3T/msnowOEx5fdGVo9pk06xeey+2cDm8fHpLRaP 9Vuusnh83iQ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1kvNzNzFCQilqB+P1ieaHGJk4OKUa GPc+XSK04kBkyKHLaX2KE7XvFSTNmvuqNsdVOfN6y8KYiFVCGV0tWZ5h6xxunLW5s+liYUFG aUPI84YLDg99ZvOdfsO3y+zPodkiyy9lGVmerI2ziXtwgEG8N/frxH79befMHZyjRaf8acx/ v5fzcMu5Fk+NiJnGjHK8e1XjYjnSp2wvmyS3VomlOCPRUIu5qDgRAKnFp6zVAQAA MIME-Version: 1.0 Content-Type: text/plain 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)(39450400003)(39840400002)(39850400002)(39400400002)(39410400002)(2980300002)(438002)(199003)(189002)(9170700003)(1076002)(305945005)(8936002)(33646002)(189998001)(5660300001)(2906002)(72206003)(48376002)(50466002)(478600001)(4326008)(47776003)(50226002)(106466001)(77096006)(86362001)(36756003)(38730400002)(76176999)(50986999)(356003)(5003940100001)(6666003)(53936002)(8676002)(81166006)(2950100002)(54906002); DIR:OUT; SFP:1102; SCL:1; SRVR:MWHPR04MB0512; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; CO1NAM04FT028; 1:bhtIc/1HVBIooWeWbpzg5HMC1JdmyzwLzH3kCKvSM/2vn41uxZ7JCn6NnCarwuxSXDauWgYbQKnNFiKNtWulpAWaIYzsK6FhwikrNdrfQvgGseItUHMSmN04xYltgBQ5REEMDrpKQIkA1HQ4xbsqouuK8/wBz75oIP0jGXTIlhPUKdI48oW2Ih+/RdQMtpx3BOuEFiVxskMHJpZBePVfSyOHAvuWS/XqOKBsE9/OjG6UB7AxCI6kgBI5hY7uNS7Cbu3mP4CXVI9nLbm8mdchZoWmjGTVcLvn8bPs0R4KTOQaGwgt467gZ3SnnWBDDMLFeEBLQjxQR7fLjOHcyoWdVcGUmYdpjPwi9i53uopxFneiJEBCyRhTw2fyKaUh82yjYEtCE3SPlxzpojyCRNXHERDOX3M6YSfQliJzlrmgmfOJT3xwPiqVIiPcvvf1KpFMc10N4oeXU9FFVhaxLVRb0up/CbhMEPrMjcdBC20pAk+W87j9HyD5XI4vEjjLpA3aurd9FKU08IR2UrmYL7q7M1YqavG6ranpc++EGiN2aD/cvPLMJjtgwqIvrca9g3J2 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR04MB0512: X-MS-Office365-Filtering-Correlation-Id: 714753eb-4732-457d-3b63-08d4a23ca377 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR:MWHPR04MB0512; X-Microsoft-Exchange-Diagnostics: 1; MWHPR04MB0512; 3:qNY3/gvIwj9Dnx/vK6m3ALbt/Hx8vm8fc/z7toECNDr3TrFNqUoHoViE0smo1wh2cTXNBwA7+ejjXcrxRZ0XKmeb9fchwUvF49SYJPMK3goYRHEba61CxMgk8Z5cvs96K7l0+pARK4yX5/uNPyZZqaRqCNTqTTmQkQuik87VLo8N+SbFwcfwYfiUPNkPvovh2OwXyj6qPFvwLOOne7DsjiOAxSSJqmeYb4YCSbVLv0s2qYnGN1eSCT2bbp+EUi64xWTqyF/kLSaRsD4uBrIU/CAaG1EuKo5Q8is6JjnNDgRn4CwuqHjc2OuZWiAwHuDRcSThTCQl69DvB5kTQdGcLkwFqvPmIqDRwoAIKevqjiAPmGbCj6eoSKJBG2C1aXPj6tDDb67AcIqsOfaN/LZMGBe9PdCLPtqYwyGnmt97uzoGCpkStLRwuceU0pitPXkmqdgHlZSCLJkl5QbGWd+1LMF8qBTqoYMhQACb4dZb53S1RLY96EyM6q7xSMzWtk2+ X-Microsoft-Exchange-Diagnostics: 1; MWHPR04MB0512; 25:vCvaNhOnb0YTb7snGvWnduJ2VhxplQm/B626BMC4fLdoKmaZpbCHGi8hX5prD4TLpcuWrZDc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wkfzNGQwDzVQtEaRxknT5Xm0tFEGFiHskJq3cwzDE7NvIXyBDuVCmwxFFzZ9FdGgImEAKa3swlhT07bcXtPl6zsULeowpM4/KlDH2VKdBQSoSNTR6JFZIFK+ohkDY0cPjxs76KOvWUJW/txnmNzoxCDk/IQaQ79zb/T8tnAnIHudjd8MnirlwJA8FZeb9rW/qo+StfbS0rLy+97yM X-Microsoft-Antispam-PRVS: <MWHPR04MB0512F3FACA574903878540A681FE0@MWHPR04MB0512.namprd04.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(95692535739014)(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(13018025)(13016025)(5005006)(8121501046)(10201501046)(3002001)(93006095)(93004095)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123560025)(20161123555025)(20161123558100)(20161123564025)(6072148); SRVR:MWHPR04MB0512; BCL:0; PCL:0; RULEID:; SRVR:MWHPR04MB0512; X-Microsoft-Exchange-Diagnostics: 1; MWHPR04MB0512; 4:jGbUmouug8HHDHlIt3ZekRfWqVNSPUmzXxxZvmXaR/AFmhJYpg5IhpPfexZnf0OTDnUIXVQOIN82VJbyl/vyjtxgTs8/RX5LCL+TW1UdU3AksRNud2OxaA8oe7pYVB53PUJhsb96dG/W8nl1eeCIyvH+vsEibPBTN8+FKeafoc4sJILGk1BRBWRouR/wsmStj6bU96rutlfXwc9dqM8TTAHncncMPW3mQC0FKnTPIX9c/zXR1+b6bv3w/5Syd0srTeoSs2rROoQX62BARKDg2XO4NtJ2lcv3AvsrN1VjzjYYzUAjmCwUn4E7UTvW4nx3iXQexzLiU/HcmcKT6DemmGpv+XE3v9MvNHNg01jun/c7Iu6L0L4yJC+i6cArXRZwQmT0Vi3xr3kIBCpZV9MWZyo0jG8E8PSdEAHz3wwuN9auvIV49dRyNuo1Q2AVdeVPP4X9UhlFpNxjH2lPsZk9pcSLyw65oQniUmip/ij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mszRdhC?= =?us-ascii?Q?S6uXytb5Ge32I0gNOa750O6CZKKaHThs7bm0JyoBM4gPv9tvrMKrgib660WL?= =?us-ascii?Q?+4X0PBuHzCZ8D328nZiGK6LA21t38RvEoF2N7/De9wQzSIYf2wOtpqYmSGf2?= =?us-ascii?Q?pyn/t/kuBybDDomgFqz4aEXDld70yDE+ws9It3awLWbUlaFr+IVecFNTUB2y?= =?us-ascii?Q?hE1KLayEnfVUfiJNDJl0xWsfkbg38y+1iWWI0jOP/Cak6apLNM2bmHlKW11A?= =?us-ascii?Q?tefEgw/I1eFbHr2u5fgSdxAM9hrSwq0Jcgg4HAuFyxGwz+p2gqgB3mvPpiFG?= =?us-ascii?Q?yzsE9WyW+3Vid4q2CtmEvY9IZLB6bqjF+R701kkyoyR8JOHgXvAaEBYBaseW?= =?us-ascii?Q?AKFK2fJdhSsaQG+KlMPKTEEWePcGzP2W8I7/Wfv5SfzueGaHCfcAfneOU7dJ?= =?us-ascii?Q?kD+YzLJzV9Xn4YWtVQMPrrhgvOAypiM0VGG6EKbZB4zKeQ2sEXgksFmF5+uQ?= =?us-ascii?Q?4RzKnCbjf9muzPQ1FL71AVlNZonxJzOVc06ZEe6L/LCuNmYKglfgzXjVx9YS?= =?us-ascii?Q?yjGK664DqpisDVoqAoai9JdZVw3QLs2ouKRxCo0JL2C7jD672wuIJm4dKnUA?= =?us-ascii?Q?Oi3eoo=3D?= X-Microsoft-Exchange-Diagnostics: 1; MWHPR04MB0512; 6:4027vUkL15vaI69F/xDvmdUrzi74FT2atliqyKbScO52iAho2aQvlQzzk21rBP9i3nE7i4UBsNgkzBoL9187aqOR35npN4gdZ3LPMIRQ1o1QCy0SPHldg/kYpR95RE7lc4W3sqS6d3tZ+8C1FAPRlM4TfXc/rBTxKLHU0sMUY4umFFKkRw+FZ9FuyIqGGKuJcHjWEMksaz2mDat/G/POqip/azpHLh3BUZPwngLRNrs2YcXosCT5Dcmt5ntDMM8CoSZN2gcwlCUjd8jhRvBk1VU8bZHPTtmna4FX23j954nHnIa2LUFlCCG5WLdnXHFy76iEXq4vRT7W2320SrhA5fg2ak44fHRQYyJ58OtGxAQYtOzQpbwYiAqVIBjb4joj1nCyZOpqzV7QaSEVjxa3C6xsW0BToMlmHnRpE1DvWuDiqnFhQ6LM/p1yRl7Cn20671VOI2rB/xUSBLZnI6r9XINTVnsLBoHYaDkWgjIsz01tD5+8iQNz121hvEAap53wyT56qXjZgs0cUQe4lcAqVwDIFpqd5KU4+LgjkVN/XMg=; 5:+6FJiFhBDuT1QsPXwlMpJrZE/MyqCefpr900WdaAQJswqnJDn/oe5ddrZtyWlEHpAWRv61YkrWf03IMp/UhVhLGhthB2AjADysZ04mUl3T26u2AHCnM3j9/5/rXpUxzl/076cWrha5Ujno7yAttFEw==; 24:tmUs+pL3to1Wrc4AHOILLPUpF7Wbqkq04XSggOQkYseQufHZKXb7RMAzDqQgYvvVcAtbViLv3MuFmksU7iehcJ68RnehCr/lQ1LzMV7PDHo= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; MWHPR04MB0512; 7:D+gl8S8rS431oaFI9s8/irEJq6wVL4+Y4JRoPpzhQgfs3itgBz/dedPqR0k+W7IbN9KDldvdEH1zie9x1PkVjrz724XD0G4MQtQQHMcmMltt1KI9gXnFGwrGFe6IgDmMZCYZzWDioWhJxToHlJ4EFLKcQIDsjitb8kVN9VhpcCqlnnP4wE/2yP6zsGAynPnFQUbaOoNGE4PauvIhjohT4l6ILXYy2OtuJlIUmTUvHOZbUdzy6qceGtMh84vD9ZI7paDsHbckqshGO7dodFoQaIIo2PSHPAxRF3dxNlUSTp9n5P1Vd6PAdROOJerDKi+E61qpPbswP7jsvo4/lRwmRQ==; 20:nrn/a4HOsvOX3lUTkR+Irrf17Nd8/caubzc6pP1TwL2Dobk6+bs+sPk/SBTEg0EdbKX/QAmmN3F/vA1wayYDXV9apJ7ms1UAmcJoUfZxT1FhZdiJv0UFp1ZHZjzau2/HVdeCAvUGPBD1AW0qlvjH6sZlpxKRg2ZmQZFd9/toEfc= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 May 2017 00:34:28.5467 (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: MWHPR04MB0512 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: <linux-scsi.vger.kernel.org> X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
On 05/24/2017 02:34 AM, Bart Van Assche wrote: > Since the SCSI core zeroes driver-private command data, remove > that code from the snic driver. > > Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> > Cc: Narsimhulu Musini <nmusini@cisco.com> > Cc: Sesidhar Baddela <sebaddel@cisco.com> > Cc: Christoph Hellwig <hch@lst.de> > Cc: Hannes Reinecke <hare@suse.com> > --- > 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); > Reviewed-by: Hannes Reinecke <hare@suse.com> Cheers, Hannes
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);
Since the SCSI core zeroes driver-private command data, remove that code from the snic driver. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: Narsimhulu Musini <nmusini@cisco.com> Cc: Sesidhar Baddela <sebaddel@cisco.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Hannes Reinecke <hare@suse.com> --- drivers/scsi/snic/snic_scsi.c | 2 -- 1 file changed, 2 deletions(-)