From patchwork Fri Jun 2 21:22:02 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: 9763471 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 38AD460360 for ; Fri, 2 Jun 2017 21:22:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2BF46285D9 for ; Fri, 2 Jun 2017 21:22:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 20C95285DE; Fri, 2 Jun 2017 21:22:20 +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 A176C285D9 for ; Fri, 2 Jun 2017 21:22:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751180AbdFBVWT (ORCPT ); Fri, 2 Jun 2017 17:22:19 -0400 Received: from esa5.hgst.iphmx.com ([216.71.153.144]:30215 "EHLO esa5.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750966AbdFBVWQ (ORCPT ); Fri, 2 Jun 2017 17:22:16 -0400 X-IronPort-AV: E=Sophos;i="5.39,286,1493654400"; d="scan'208";a="22370810" Received: from mail-bn3nam01lp0179.outbound.protection.outlook.com (HELO NAM01-BN3-obe.outbound.protection.outlook.com) ([216.32.180.179]) by ob1.hgst.iphmx.com with ESMTP; 03 Jun 2017 05:22:14 +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=8J0h5Pl1nM5AHeIGfCmg4fW2J01iES4yBf2shrT2g8c=; b=FAw/uSyrWjKK6BQKu4KTOVEHsoQK9HqQnZyyWFbQPffWqZoj9VzT+kZbcR3Wy3SChS4/oQxjRBrL0JwpSUloPRYUo9xl1SRNHmUs/7MoRbIeZjGObfyOMQ60TPnc6+F/S76N7d+KBBzb8eFcV52AfhiCLFjawFsxi8qTdOj+zyI= Received: from CO2PR04CA0059.namprd04.prod.outlook.com (10.166.88.27) by BN3PR0401MB1460.namprd04.prod.outlook.com (10.161.210.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1143.10; Fri, 2 Jun 2017 21:22:13 +0000 Received: from SN1NAM04FT034.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4c::209) by CO2PR04CA0059.outlook.office365.com (2603:10b6:102:1::27) 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; Fri, 2 Jun 2017 21:22:13 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.225) smtp.mailfrom=sandisk.com; oracle.com; dkim=none (message not signed) header.d=none;oracle.com; 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 SN1NAM04FT034.mail.protection.outlook.com (10.152.88.156) 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; Fri, 2 Jun 2017 21:22:11 +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 97.7A.38445.207D1395; Fri, 2 Jun 2017 14:22:10 -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; Fri, 2 Jun 2017 14:22:06 -0700 X-AuditID: 0ac94371-422569800000962d-98-5931d70262a8 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id B1.B4.18148.EF6D1395; Fri, 2 Jun 2017 14:22:06 -0700 (PDT) From: Bart Van Assche To: "Martin K . Petersen" , James Bottomley CC: , Christoph Hellwig , "Bart Van Assche" , "Michael S . Tsirkin" , Johannes Thumshirn Subject: [PATCH v3 11/12] virtio_scsi: Remove code that zeroes driver-private command data Date: Fri, 2 Jun 2017 14:22:02 -0700 Message-ID: <20170602212203.30401-12-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170602212203.30401-1-bart.vanassche@sandisk.com> References: <20170602212203.30401-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrGLMWRmVeSWpSXmKPExsXCddJ5kS7TdcNIg80/JCxWrj7KZLGxn8Pi cdcMVovu6zvYLJYf/8dk8f/XK1YHNo9pk06xeey+2cDm8fHpLRaP9/uusnlsPl3t8XmTXABb FJdNSmpOZllqkb5dAlfGgXm9bAUv2SpO3w1vYHzK2sXIySEhYCLRtusmSxcjF4eQwFImicnv 9zBDONsZJS6dn8AMU/V2/XdWiMRmRok/9yeCJdgEjCS+vZ/JAmKLCBRKXNrWwQhiMwscZpSY sb0MxBYWiJKYuPgrWD2LgIrEl0/t7CA2r4CDxObXq9ghFshLnN2yE6yGEyj+rWMJkM0BtMxe YupfLYiSWaw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Message: 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)(39400400002)(39450400003)(39410400002)(39860400002)(39840400002)(39850400002)(2980300002)(438002)(199003)(189002)(9170700003)(8676002)(478600001)(36756003)(86362001)(1076002)(2950100002)(54906002)(2906002)(5003940100001)(47776003)(53936002)(8936002)(356003)(50226002)(5660300001)(50986999)(72206003)(6666003)(106466001)(38730400002)(81166006)(76176999)(4326008)(189998001)(33646002)(50466002)(305945005)(77096006)(48376002); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR0401MB1460; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; SN1NAM04FT034; 1:bIvXwC83DygZfdGxLauaKi3iDV4hYgxMRnYSDna0h3ZbhdV649KcBEm0ifi2r9HEMm3lA3Kw8JSS3O9cy/3sfchGLNHdwEwwEF1u0Os3I2bu89NfmWwPY7iLILY/pjLy2FYeTU8FnvLOtELNZorFOzjR/GO6hlJpxMZkFWk4+TAjrVydrYtv6NvCyqf4ckbOlE44lv20TvM8C0Ljrp10rd0yYAys2YUOMKJv/nP6Bz4jRuhXco5N26lfaqBJkrV9Rl5lLKdooCU4713czZHGXWF8B4F9Wryeyxn0OmOsmE1zhbBc1m9ksy7Qqk4bezsEzVTPTl5jj6U1G/iiWAUBY1aqXTGfGM6ro8mt4NIaky0+s+klz6xGymvi2Z9VILL9vOLr98B3/w67+yUfgXp4xa5sggooq0ydJHN551D6fVbnblMBR1so1QfXWz1zCFBo7jIhhO/22kcsTmLqREhQRc43/HJnayVH3M2wfSq2OWzvOlqeFWPH2NfmKNDcjizxUgf60DFdYaei6FaSRZYI6Q== X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN3PR0401MB1460: X-MS-Office365-Filtering-Correlation-Id: 8f572496-01ec-4166-7a01-08d4a9fd6fa0 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081)(201702281549075); SRVR:BN3PR0401MB1460; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0401MB1460; 3:/qLATvzlkYq5hy2TtuPXYtDBGDxF4x5rKTmUsi/WniBH9ShChJtv9qXMaTsBdPhmjLhk+6IeqtFOgdqyxPXJF2tLUOYqh6RPHKHoeIoTv3wGvwI+x2mpsGY89dcwZ8d8U+ifefS35v3K9BDKEr0N4EjgVW+QKUHxqv4nsO52RcEMoRNHHAeuGIEsMOKaIRuX8euD+UVH2mn7SMsWZkIPaV5LR90kTHeAgom3d6Wf50GVzUBuXDknF9z7rwe8Y+RXYwLi1k6SHz0B1dOLrOMLBoX+v79Rmn1MtasITzvfm60pRE8GxJv/ErsEcV/MFG6Qkw8fEYrRZFkHOz9wQ7zNdXXFilHWvi12ifR9ozkCxAPcMmCIV3qUbnwxpPeKAj1HjX13M3IWeIinQ+6HO0zYLQaVYXFA8Be9nqVDR2exmSTFzOL6Ot2R5lkwz51pTLEQUpw/GnjGbvsPVzsfrAUnsLhe655G5Wc56U6Jq5fZMWTX/PoajsZDgyG7xqjzz6GKNcE09gcFrZmroqP/OEGnWg== X-Microsoft-Exchange-Diagnostics: 1; BN3PR0401MB1460; 25:yX0+bgbztsvYfb2IxwZ7bvpsWpqowNLIIFC6BZpYe0fA46ZI5aFIu3vxcoUdXKEMV3hIPqHiwTKQfYI1nx8cbGnX54O1mvfW1DMwEXW/HdBVQVCCrR3UaspsnI+rGgw7PcPVK87B4BA+XEo+QdR4HYqEgp7jyIuUqRkyshSk3CCfUIld06+vXcxvMyKl80DC9OGYx+GwQ4Dp9pwIaxhCJxBH/tE+2XekNOyXRwMxgaB+lOik8pqOL/m8hP1SO4+k0gVom4EJaNsr7N+/sCzmAdvsrmwDmhaJzjs6r+VzzLkFHCGXmmbPFlQt6mP+VDRhfks+usx9QZfXoqhs2m4J7asySWUptYHWzWl4jC2X7ldJahTTZ7xvFwzO3dTAl8dbRm0y51FNdunv1kGVd2vBGsvqSqvI+YpsR5FGJknA15XfEV8xrFoXHjDyASNwBKRmL7qunzJukfQEgpFsniLB31dn6hC2L3SkAWfpIfX8OoI=; 31:pYhuUD8+/wQ/p8LlxsNCfIFCgnBeVozMnvaHuoe8h2rEXhr8C1yEAwjWJXoLWww19blJBbQjzwS+Px6QwyS/uSstMOVjteHqwW61L5ZQBeEOOppHnL5tLk+KrRxLVUNyAO65xSQvjcuNm9goh+48KWRiC4AfhnzHHrXcB9TqAFjvuhkp/a8qxrfDRpAsfqtV3Aprrjd13pyPDaOmV/nYp4UdPR5H+FHrPl7Gx0ftd2tHxKIYr3Z2KpwTms0QVCdSa/+VheE9nkKnxJ8wP10MvQ== WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1; BN3PR0401MB1460; 20:aeobKed6mwn0jDsP0gToOP0W2zrldlrOdGBZ/yq7O9cub8bnUiJQzl6TxjbALZO/bSFoC1buSiahw+6iNvoGsGCh9/M3AWRy1pjHNmE/Pi4u8/hVPL/46SD4Ht6EFckDVQ711njb/7jMHzBBB4zAG9Z9iGWnfb0PWsYtqY97SyLWULLNS/jVj5hUA+nIF1WwdvrUGOnMHROYzBmJke5UqNb60pP8Yj/YBy1oH2M93mOTW1e5jpSQluYCV4mbJ4o89YFuel/MKbSxv69tJiQsrl4Isw8NMReUT7T9tNEDmEpkGMrI5hY93ZACYSwDxZR96+E9k/t74op16RJ+7TjbCmkj9Ireu1EXuatCxx/rkRKMTUNxkkI/mDHNaTvNzWL8BaI9g+SpRdTKwXGkfT/JkXXoUZeBSLq0rrnB/3/cG+lFr9BwXGOH7+awLsfFSGccx3suF5lrLjt4D3C2ZthSzyZwmxd5S4mXX3m8/goEaI0SdpenS9QHbc71Knk35OHx X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(13016025)(13018025)(3002001)(10201501046)(93006095)(93004095)(100000703101)(100105400095)(6055026)(6041248)(20161123564025)(20161123562025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123560025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN3PR0401MB1460; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN3PR0401MB1460; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR0401MB1460; 4:1gqVr+Gvbuj8iXWextDXGMuXnZWCCDXTqM+gaC5h?= =?us-ascii?Q?J2Pd2toqL3ro6eciHnoBQp402TX6t73yQYcas32FUXm70KpmxJ8h0fYvwqUJ?= =?us-ascii?Q?ocHUN4ihPb7c9amiFoR7nmiGiDdCaYc+WxGC4NVboRJIB/DY/EwhOJkoOPW3?= =?us-ascii?Q?KBCCI4JM21MHEuh2uP5qwQ3cgLG9xN+XJZCqAVLBO19nIjf3jlWOTwm5aUU1?= =?us-ascii?Q?KLdcJxxPlbhZ04yTjIccZd1G5xBTTOO54+a7UuAGEKr6ZaZTGND85yS+GC8c?= =?us-ascii?Q?vPUhP5gLvZ8/oInOtQqqi7LsywL+xViSa+aC9fvQ948S3awmsl3j7o5rdpBg?= =?us-ascii?Q?+z3ZxCjsVQWjZiOk56674IHC5HVSEV0iaEJH+uRAtxT986C5dw1RxKWDfoJa?= =?us-ascii?Q?UpQWJx51ChPY5ZOLbfAjUR6A/E46KR0//ZsdkO4a3naugRjyKXHV5AWh/E0F?= =?us-ascii?Q?8iW6zWQ8EaWfuxVPLVmAk0Ztdqt1flI9FNJb7LXAqQuwZeb5MCYEYmu++/jP?= =?us-ascii?Q?zD7bBVrDdfXCSdCa/JNH56ULERazgCq/AfzdpCLSbBKO3He0SgZSyIGasDpd?= =?us-ascii?Q?3/2dpPgUaYdqBzNQsaav+4rhfSCgBtZWCys6xNUhkxP5jZPnlVBoERTv4gRo?= =?us-ascii?Q?uXs2WJLD3TMkBexFcz7DegScsto69VrSQECRBJtfcSFvG4ywmPJppyIagpdw?= =?us-ascii?Q?tMSlY32tUmFTbQP8W65mRT+h9wLVzfYbawfvdc8NTmvtirNKC/avdLV8kw41?= =?us-ascii?Q?kZ3SIFUdkOz+f+R3qEnikqihlp1HO6UI4aWbSxB+239hoR48eVzMpCdBbl02?= =?us-ascii?Q?g5ckVlVYhXP1sbBgP9v+lDxBsnz9VV1AHs2eHEvNYvepuWIKtPVQlq0ojJgc?= =?us-ascii?Q?ly3g5qE9rOFfHQZESi4YhYh8f4q9TX600EX7iNGtwsN4NHrLE1rMO1bUlOC2?= =?us-ascii?Q?nuHCIodjveCPyYjKeIW8J1KWaysNYdTl9q+zJID3IhvyO//xjZMSFSgA2MKY?= =?us-ascii?Q?017hvgUf7EAlehG6PMKAbbS90ygI7lSG1ZppNGwPpm9N4/mEl6p8LAELSLwf?= =?us-ascii?Q?+Dn1IWEGwejAJUrRIknmYz1lzDSwltrAGlFqQTBn4PpyOapioR+17R8BIiFF?= =?us-ascii?Q?1fuSWzdJhCCiqIC59izBI2lGaitucHCXt/dRqkXcIVDSbh/JwCYgjiywwwXJ?= =?us-ascii?Q?mPEwDco9rtSqTundel6peHLfcaDZnsx6dA3q1Tj5ShwFZQAaBKi7eALBu5Wh?= =?us-ascii?Q?jXl5vuFF6kjNSXRuMAA=3D?= X-Forefront-PRVS: 03264AEA72 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR0401MB1460; 23:m2/08LIUDeVPVU49mR6Rp4XPW5xjopcG7K5mYMT?= =?us-ascii?Q?RAgIcgMTtiibH1M+wDRmbN2janf8DO0+xuLKfvf62OYxgz/+tXkC2aPMWtqC?= =?us-ascii?Q?PaXC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h0iSI44zjQdBJkjSM60IffohqiLRqLHkgiCtuY1j/uL0MCISRCuvl/S6MUU5BQK6sILSBy3rhGstgXoUFW5aYQaK3i2zvzHqTwmNZgUaskQNy1VdGjkouPBX5Ipm2TdBcriblqVkz/mGvmazL2oWwcuF5115UNI1PNytkqhVPdvfxaYycWjs/ZYTDJ0p24yjLlyuAnOGxIa3+; 24:+ts+4P9lu5Fh18fm+hKFC/kxP3vhMxuCTmmkcisIspwkkosj0BnMqMrT400eFdfwgzVUq/5gIcQtsifjj1++MAFgFW8Nekcpjk5IqQ+3B2g= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN3PR0401MB1460; 7:DRJCo5dzliSay6yrv80TlAeB4ElWvZnBhXR8ybRuNYFu65sFTkMRmvWAVIp8ZsKLQWZt1B+N9m1tjjBUYnBl58jZD/4DhXva97pMBc9Zhq1sP6XZtkqkcNJtu+6WhrjRjzmCuI9SC9GQZp27DuuC6Hl7+KeH21L3qebkswqc4CR/5i9gyTZUxvEafMBDnKKxag++SBoVkvE3EhGxPr3m87VqMCWQ94J7xgyUQZfpfHm8bccHKICyzZhWKj0ZqZW4cTeq8/BjTL6sdumnIFCoJgb9VSbocJd1Si4wg/gLDgH5SMCuBm2/nmUpPfYrlMBYUe8ZnjgalBcLOXe4E11p5A==; 20:v8L0sFZ8zplMaUM9koAEp+2hq6Clft2bPBjaphaFsdT88VrS9fpPdeW22IMTqY3ZiOZkKRlfS1goVh4ir3d/cDzuitaqGmVLTLsKuQhHlgP+rUQBDoScCJHruq0oRu/RKjh9fYl9E+OOyvFqn6F0/kpZumSWzYr9Rb6qRgDPwBo= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Jun 2017 21:22:11.9752 (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: BN3PR0401MB1460 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 virtio driver. Signed-off-by: Bart Van Assche Reviewed-by: Hannes Reinecke Reviewed-by: Christoph Hellwig Cc: Michael S. Tsirkin Cc: Johannes Thumshirn --- 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);