Message ID | 20170524003420.5381-31-bart.vanassche@sandisk.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-block-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 5752B602A7 for <patchwork-linux-block@patchwork.kernel.org>; Wed, 24 May 2017 00:36:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4AED42885B for <patchwork-linux-block@patchwork.kernel.org>; Wed, 24 May 2017 00:36:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3FDB32886B; Wed, 24 May 2017 00:36:03 +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 BA2BF2885B for <patchwork-linux-block@patchwork.kernel.org>; Wed, 24 May 2017 00:36:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S968985AbdEXAgA (ORCPT <rfc822;patchwork-linux-block@patchwork.kernel.org>); Tue, 23 May 2017 20:36:00 -0400 Received: from esa1.hgst.iphmx.com ([68.232.141.245]:56500 "EHLO esa1.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1763444AbdEXAet (ORCPT <rfc822;linux-block@vger.kernel.org>); Tue, 23 May 2017 20:34:49 -0400 X-IronPort-AV: E=Sophos;i="5.38,383,1491235200"; d="scan'208";a="122517439" Received: from mail-dm3nam03lp0019.outbound.protection.outlook.com (HELO NAM03-DM3-obe.outbound.protection.outlook.com) ([207.46.163.19]) by ob1.hgst.iphmx.com with ESMTP; 24 May 2017 08:34:33 +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=MI+EUC34SmUovBYu+eOeLnxGV7FGsxpycYjxItFTHsw=; b=o8YKssFIzs4wD7pC7jv4XDz+/8OkN1y7xK1TTaOIxAsZiIee9gNGdzPVEn4PGcyFqoyzSONhQkXgUm0CP3D7cdvQzLBw5nCOuqV6+6A1dDaV/GOCmlj+js/w/7ukx76XLROSxP/TB9D2rw2htIt9M04LqPcpcT1u7NyFUQJWi+4= Received: from BN3PR0401CA0033.namprd04.prod.outlook.com (10.162.159.171) by CY1PR04MB2315.namprd04.prod.outlook.com (10.167.9.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1124.9; Wed, 24 May 2017 00:34:29 +0000 Received: from CO1NAM04FT057.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4d::201) by BN3PR0401CA0033.outlook.office365.com (2a01:111:e400:51d1::43) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1101.14 via Frontend Transport; Wed, 24 May 2017 00:34:29 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.225) smtp.mailfrom=sandisk.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=sandisk.com; Received-SPF: Pass (protection.outlook.com: domain of sandisk.com designates 63.163.107.225 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.225; helo=milsmgep14.sandisk.com; Received: from milsmgep14.sandisk.com (63.163.107.225) by CO1NAM04FT057.mail.protection.outlook.com (10.152.91.172) 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 MILHUBIP03.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 19.55.19026.315D4295; Tue, 23 May 2017 17:34:27 -0700 (PDT) Received: from milsmgip12.sandisk.com (10.177.8.100) by MILHUBIP03.sdcorp.global.sandisk.com (10.177.9.96) with Microsoft SMTP Server id 14.3.319.2; Tue, 23 May 2017 17:34:23 -0700 X-AuditID: 0ac94371-41ba798000004a52-34-5924d51360a0 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.9.6]) by (Symantec Messaging Gateway) with SMTP id 6C.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>, "Michael S . Tsirkin" <mst@redhat.com>, Christoph Hellwig <hch@lst.de>, Hannes Reinecke <hare@suse.com> Subject: [PATCH 30/31] scsi: virtio: Remove code that zeroes driver-private command data Date: Tue, 23 May 2017 17:34:19 -0700 Message-ID: <20170524003420.5381-31-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+NgFnrLLMWRmVeSWpSXmKPExsXCddJ5ka7wVZVIg4XNahYL3uxls1i5+iiT xcZ+Dou9t7Qtuq/vYLNYfvwfk8X/X69YHdg9pk06xeax+2YDm8fHp7dYPN7vu8rmsX7LVRaP z5vkAtiiuGxSUnMyy1KL9O0SuDKm7bzPWrCKrWLb426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1Z4WvurofWRetV6n2cQuZfuOor/Tny5+F9qwPn9Zx7x/EtQd6qdl/Kx/+T 8yeazld6K6HUrcAov6b25LWPS9ILy7xt7x6reW73b95VmVMPrXZGrV9YOMXtn0xCTca8p80T ReeXO4k1XLBQSjsSskAy7P6eaOYYTiWW4oxEQy3mouJEACFELB/QAQAA 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.225; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(39860400002)(39410400002)(39400400002)(39450400003)(39850400002)(39840400002)(2980300002)(438002)(199003)(189002)(9170700003)(5660300001)(5003940100001)(47776003)(478600001)(4326008)(189998001)(81166006)(356003)(8676002)(8936002)(50226002)(1076002)(33646002)(36756003)(86362001)(72206003)(106466001)(76176999)(38730400002)(53936002)(50466002)(48376002)(305945005)(54906002)(77096006)(2906002)(50986999)(6666003)(2950100002); DIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR04MB2315; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; CO1NAM04FT057; 1:b1I9npI+4u6rXNC8QF66yP8KbmBItcFiujWl2eoH2kI5lIu87pR7EX0ET9hkyai6qrUGEGw2Em/eaKDnhq+0bKcoT0Da7h9AFm6/8CltkhmbVXDC5D58qm5DGBavFCplG2VWa0pKkSd3ZJ9fOrYhcQ0jgBsS7VLOZPxvLitFv1Z1gUwEUeJtkyAGM4FWoE4amYNX6Q9Q9iqEhovtT6BGqZ6NDPQ5Wk+nPYRW92EUcW9YdcwXs/ZFWKRItxzFCcnDuXBJ5YWWi03Dap7HMwjWtd0gKnSNmhNb2BZn/MiuS+5nVltAUOlP2nShUFxRxdveAb3a5mjZtgyOyBL7usVbnqY7uB5hbfWXPdJfajLTdbB2nv53VYSjP6nLlBkfx6Vgdc/bUEqm3gZmpGw774YDanjH2l0nvsjFN1J0Q9ke/rKCfpPsqKc1XAJlPb2UEPkiOIXY+yGveA57yDuX7cflgBbovOFVoUr4VDQ1Q9OgomsCsKXdPwVzx2XbQk53PMFs0xOc/Nqo8MkOshRF9czgd6Pzh2LOsefs8AtZcdT5drk= X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY1PR04MB2315: X-MS-Office365-Filtering-Correlation-Id: 1419a2b4-8f0c-42b6-28e6-08d4a23ca38f X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR:CY1PR04MB2315; X-Microsoft-Exchange-Diagnostics: 1; CY1PR04MB2315; 3:skFTqoC1XJheKoY4yhXW8KKMfWoJFVO/GOiCPHeT7Vg9fPIXj/r4KIGd/yUK6zzQBGkdswtMNwwkFbDbGTi0Eb4Q4qn6sKEGFY73qgzPWhmoFQgpmnkOPojXFAMIhuXwxBpy7bm1Tdr8QGunUZBLzg6V0+APcMuftZ0iA7nb7sY79ifA2ZwZbCSg3g0WaYxEXgvlT8yvGELAok5OUbIZZxzaOsz2xER9eKcRRzCwGis0bIaiZUb3syjgk9CrbYuMKvY/85aRCBz1iBOv5BhNIQ0QDx4Gaxh2shKvCPcoLlowk+XCXmy5t1gL+u1YwF+Htlvye8Ht9jbq77SCdavkVurqfpP87diB71yrXXocxvrDPNAZpefQ86eKw/IIQBe8eXJoNe5HCJs681h2LGf1ua2v9fR+f+TlRA3ADGjkLXrkt+8se4X4r9w0bPcriVzRZX9OHE82Ri4N3uV1HdIdgCC3Xq9e84qMLjCui048v0vuvCJFuenoPDwHdrOtszdo X-Microsoft-Exchange-Diagnostics: 1; CY1PR04MB2315; 25:9xFw8eu2ZUSf65bE1MMiNiI182t5E6MfAVg9+CTMjEIY4x2uVi6kQ13QtMZodqjEXJzLBUfZlS5H7cIW8LoRozKCePpo1EP8Q+LZKMzd2f1f6f/d8kvEx4POpE+FIaRLbQEr9k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gLyrAHtUCOUpCPohxs2a7xSYpgEf7sWMq22tARgUoVuwIk0wUFj29Vlm8hbcATq8YQ41tIcKK4yDpGNvao2+0J72ke1h+cqIj64K5EYZQx+pZojp5A8A9yAv+tAXOJ+6icixbMp0m X-Microsoft-Antispam-PRVS: <CY1PR04MB231593E5C7F481319E1E70DA81FE0@CY1PR04MB2315.namprd04.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(13018025)(5005006)(13016025)(8121501046)(3002001)(93006095)(93004095)(10201501046)(6055026)(6041248)(20161123564025)(20161123562025)(20161123555025)(20161123558100)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148); SRVR:CY1PR04MB2315; BCL:0; PCL:0; RULEID:; SRVR:CY1PR04MB2315; X-Microsoft-Exchange-Diagnostics: 1; CY1PR04MB2315; 4:TkQ3AMUM2VCLNEshY/uhi9ZouW+7RnClcizOqFQ6N7jYdP1Gd4UU3LZTmPtUAAYplFbi3MhkjhMmpni2/0rq4e/4NByhxV9XhSD8809Gf3ZlnsNMm2uGl2iGSNetcjygDAQhpuMC88sEBpN3pvdIFYbUl1hS8OrRMe50a9ZzueToDX8CreshaP2z4+IyJYh5JgE9hJOEZ5tyxdtnqCi7zMNelRgyYZavhohZifOf19M2CvcyHEszusEgkEte36GOImy6P7sNatWMjPT/3ewlYMeMBTSIqdql2R6zq+Vda5dc1nPhX8NyTriAD/fQ/MPnav1QEhiakWttMWafbjKPyRQoEhwYffrZI20HEF1vKSlyow0GTqcnkd9N6Lb+deAYwogdyMZM1TaUsHFSslYrkYa98pt3p0496Ccx4da7z9fb/BqoEp1F0pvVlP/vnL6PXTFakspS4PubmO65X3EAdOmwkm/EB8uxgyMKJ+hOTxilRTHa5A2CCmDHoeHIraFuXVvXcBCAwqvhYLceA+OpLUXREWzfr5IVthOEAeyDOEHdO+f1bcza1gR2RWiAu66Mb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PNshIArjdxaTjVimB9GZNsk7WPMO2HoWo37dqslmKRM9yXG6eXQILhbO93vt6AYRMv4EQx02WNSJUwNqQ7eLdHDfnVNLu0340EGezWKQrBmbv+ee78t4GxRChrJEkuX73iobhkCkiNQh+awdTeCRk=; 5:XCdgiH6yHfeJMrg00wVm22UfkJoJykb3OJjcsxv/+MeJci59aIxA6YpFZ9lD94yvi7MkFIEfYQ2ASoqO2Q///6fDrbsofjYgt2LvKlclY/KDwEPP4W5/yZ5UAqmmc5i0HmrC0P6lnzAaxOKc2hcoKQ==; 24:7cpsXSdhQDJtXUWgNrXCamogFSmTzrShz7wR51ciKYsOXSWnvehShsaPslVcIm6RlavNO2FiLvW8CUhhXjEfrYIvcb8n3exV/Ufkv7+ZDIg= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR04MB2315; 7:ZcHBwJURiprSncjykONqxfGRxQJIGDYCKOCz7SgPbae8Y1uH5pa5b/XEsnwnJ/YgKt5cH4LPuIWZRUvlJ6JfFUUPYf5KFRHaRtBS0ldIDyPVx/bHjShu18euDLGmeYt+lWgzNGbvR2mNC7S8D48E/3559CePCMgfoHvlcfSIgAaeHaWQ9EvbW/NP1T9JgYC7qL0zitTZ70HGdYAi31oVQEcvdnKoxarINfkYuwFkuzIxtcVMV6IaEJpFveax1ol0hWOnr8n8QsUK8rpO6fxzq/I92Dd9FPsvvM6yJdy+03FV/Q95IYQ6i6te3wfIbhhTzbBDBmYBNKLwYHJv7OuTvA==; 20:moEYiCRhoNLc1Xn+3a+x0wz4RL4YbOxHgWZOWYIlbqQokatLayTquhKT5fkc+ldiUfq2GLQDXGUFF66ndLhv3kcy/7v1wukTSntsJmxDy45Fz3V2wu9KnhYMlhARVvUmU0pqDZMV7P7mSnZ39L0jOT5rKlpOeWrKIgRMczpahKk= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 May 2017 00:34:28.7356 (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.225]; Helo=[milsmgep14.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR04MB2315 Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: <linux-block.vger.kernel.org> X-Mailing-List: linux-block@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 virtio driver. > > Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> > Cc: Michael S. Tsirkin <mst@redhat.com> > Cc: Christoph Hellwig <hch@lst.de> > Cc: Hannes Reinecke <hare@suse.com> > --- > drivers/scsi/virtio_scsi.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/scsi/virtio_scsi.c b/drivers/scsi/virtio_scsi.c > index f8dbfeee6c63..dc2e97c543a5 100644 > --- a/drivers/scsi/virtio_scsi.c > +++ b/drivers/scsi/virtio_scsi.c > @@ -547,7 +547,6 @@ static int virtscsi_queuecommand(struct virtio_scsi *vscsi, > dev_dbg(&sc->device->sdev_gendev, > "cmd %p CDB: %#02x\n", sc, sc->cmnd[0]); > > - memset(cmd, 0, sizeof(*cmd)); > cmd->sc = sc; > > BUG_ON(sc->cmd_len > VIRTIO_SCSI_CDB_SIZE); > Reviewed-by: Hannes Reinecke <hare@suse.com> Cheers, Hannes
diff --git a/drivers/scsi/virtio_scsi.c b/drivers/scsi/virtio_scsi.c index f8dbfeee6c63..dc2e97c543a5 100644 --- a/drivers/scsi/virtio_scsi.c +++ b/drivers/scsi/virtio_scsi.c @@ -547,7 +547,6 @@ static int virtscsi_queuecommand(struct virtio_scsi *vscsi, dev_dbg(&sc->device->sdev_gendev, "cmd %p CDB: %#02x\n", sc, sc->cmnd[0]); - memset(cmd, 0, sizeof(*cmd)); cmd->sc = sc; BUG_ON(sc->cmd_len > VIRTIO_SCSI_CDB_SIZE);
Since the SCSI core zeroes driver-private command data, remove that code from the virtio driver. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: Michael S. Tsirkin <mst@redhat.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Hannes Reinecke <hare@suse.com> --- drivers/scsi/virtio_scsi.c | 1 - 1 file changed, 1 deletion(-)