Message ID | 20170415185553.16098-11-matias@cnexlabs.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 2FEF660138 for <patchwork-linux-block@patchwork.kernel.org>; Sat, 15 Apr 2017 18:59:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 21E2E25223 for <patchwork-linux-block@patchwork.kernel.org>; Sat, 15 Apr 2017 18:59:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1676228305; Sat, 15 Apr 2017 18:59:46 +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 69D0325223 for <patchwork-linux-block@patchwork.kernel.org>; Sat, 15 Apr 2017 18:59:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754704AbdDOS7o (ORCPT <rfc822;patchwork-linux-block@patchwork.kernel.org>); Sat, 15 Apr 2017 14:59:44 -0400 Received: from mail-dm3nam03on0041.outbound.protection.outlook.com ([104.47.41.41]:38016 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755302AbdDOS4d (ORCPT <rfc822;linux-block@vger.kernel.org>); Sat, 15 Apr 2017 14:56:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cnexlabs.onmicrosoft.com; s=selector1-cnexlabs-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=wrnXHtn222Jnwmqhqt3+MlsV9NMWRmQ8hoR/08VcbZo=; b=awDwLhcK1RNTvdpTAX5HgOwusGevW98xiWNWMCoENuKv/uE1ocbzWq/k/XxPObyfIr6Mk+rqicRY1IAYuXPEHQpUaO5OaTHQbLOk0HrVFdoLsongCd3qpw0WQoUh61WSM4LXaNAZGA3ZyhmiJp935sZ4zIAixSiHE5FNwLWzzRw= Authentication-Results: fb.com; dkim=none (message not signed) header.d=none; fb.com; dmarc=none action=none header.from=cnexlabs.com; Received: from skyninja.cnexlabs.com (193.106.164.211) by CY4PR06MB2774.namprd06.prod.outlook.com (10.175.117.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1034.10; Sat, 15 Apr 2017 18:56:26 +0000 From: =?UTF-8?q?Matias=20Bj=C3=B8rling?= <matias@cnexlabs.com> To: <axboe@fb.com> CC: <linux-block@vger.kernel.org>, <linux-kernel@vger.kernel.org>, =?UTF-8?q?Javier=20Gonz=C3=A1lez?= <jg@lightnvm.io>, =?UTF-8?q?Javier=20Gonz=C3=A1lez?= <javier@cnexlabs.com>, =?UTF-8?q?Matias=20Bj=C3=B8rling?= <matias@cnexlabs.com> Subject: [GIT PULL 10/19] lightnvm: bad type conversion for nvme control bits Date: Sat, 15 Apr 2017 20:55:44 +0200 Message-ID: <20170415185553.16098-11-matias@cnexlabs.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170415185553.16098-1-matias@cnexlabs.com> References: <20170415185553.16098-1-matias@cnexlabs.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [193.106.164.211] X-ClientProxiedBy: AM5PR0701CA0069.eurprd07.prod.outlook.com (10.169.145.159) To CY4PR06MB2774.namprd06.prod.outlook.com (10.175.117.142) X-MS-Office365-Filtering-Correlation-Id: eb0d22b3-37b9-4759-fcb5-08d484311ef1 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:CY4PR06MB2774; X-Microsoft-Exchange-Diagnostics: 1; CY4PR06MB2774; 3:8eomZqP2MUwR54qfmjPgKg532uQMfc0bY/hLFClt0OI+JMWbI2lojZCY8v5jzRxS2Afz4eCqOxb+JNXcgR+Aw+GjD0owCrmbRTrp7w0jpOBdnZKiaegPS8ivwsPLi3Q1AIjlx36skmi0y3B+jSGFL6hQ5gRZ1zzE/DGvC5VGuJqPoxjvr8kwtdygOU725yy6U1eaHE5nvSDqSLuhl8oqtUp8oddDZC+Mp2ZbT9+MghZd/s1g+OuVvhqbKrxL6IbsIyQlQPIS5fcsxoYL15PXGxyycLFe3YTHRTygSMTWt119QcK2sWyUbCvZqTzQazklOIM1uYS2ZSg5l19Vr7gzBg==; 25:v/YylbAppzqlCLEkto+jFQoAOWVjlXGD0ShiJSoz6fj16iAjfrmVhY0/VMwjMv7ypyMMeuJQZ4fTUdrcCwK+OvBPoYc0xhpELOv26F/qSdONuZJF8HFH1sgLc+m5n4Q2tc9FClyF2h+YUjStGajjmJs1Rq13h33SXRSEMJjtIKtN3t4x+AG+n2beUT0ioDHM3A5X1dLSzDk2V1W9HHMu79Bg3r4VX9y8LieVSuqkQwkdH9zl62rytg79io60uIT1ad3FSmmuOXJ7QLkV8Lb0b88r/I3NQ5+ap/J1XRcsivpCln64eNZvo3CRD0PRU/tNdeX6/2pqeFUPNrMi27aNvIbkRrzjkr+XkAa2xYgqLHaAhYneFhhtX5tJ498yHsxcals+uF11yP2VUCmB0eTzmKU1UKzshv4k6A9R7rPoyreC7e/OyqoZR9H9a+RTgaPtbyS0pB+FftiWjwh+GnOVig== X-Microsoft-Exchange-Diagnostics: 1; CY4PR06MB2774; 31:0e8qcpapPP4Qd0/O9OSqrrHEwTK7zkBRx2HF7chtA3Iw22NHqmR4pi2TdTBcyFzZArR6fxw+VRVQVm6p/YfYyGl8x6TvJlq/Wf6TkhcLTnykBJHYBSvrHlFA2WrmO7WIRt+oxHp4urnG9xC+VEu8Zks2iBsLG7k6vMf2xwIT5lcdb4aDbCduCkTWeo90LxU88eD0u1BjFuSP86L9ClZkcIsKw9gZ361TTDrfc0KPl7M=; 20:YBeIvdF3AUSTH07yJB7IrYy3slBO+PToBaFBKtHqsE8NWvbqcqukUR4A4h22Zt1qpfq0Y8uH7dOjGP0KJIlKmgPHUjR0HjficIJFqgYus8U4fJukS+bREBOufHKR2XTjNLIZEtQQzWC8ni78ehP5QRzFXklYyT9h8fc25qg9vms= X-Microsoft-Antispam-PRVS: <CY4PR06MB2774CF50F48571CF0660518BBA040@CY4PR06MB2774.namprd06.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(5005006)(8121501046)(93006095)(93001095)(3002001)(10201501046)(6041248)(20161123564025)(20161123562025)(20161123560025)(201703131423075)(201703061421075)(20161123555025)(6072148); SRVR:CY4PR06MB2774; BCL:0; PCL:0; RULEID:; SRVR:CY4PR06MB2774; X-Microsoft-Exchange-Diagnostics: 1; CY4PR06MB2774; 4:SvmYhslh/sp3f1Kf6xg1E0fmox/tO3L6Ufthnxxr24RIcNVFVyLzdOr0Oy/MwRkwY3NX1g6dAOyt6BJkFy4fmLwa1EfyavrCyetItCIbOJCogBVZP+OvcwFSeNL2MoVBDEP0RJrYKidsZaSwis2eY6xlH1tx9YXQ7IpJnivLeICLkfwCaE3GclP7AZ4aZ0QV66ZBv1Z1a9tS72ut5pjffqbK7mw6q53EgRwhyyAkSZqXyehWbiSoc0KSAhLfvZnLsrXdqd7FF3nkU+BGTzHHK5r1ONPApoWtG7Y7ibeOrkq6Cni4HKXORPnYVbTKrtR9fLEvrkQ2MC1S5BCFG4kkeNCIBdkyV1OXrSozStSyg04Sw6QJSFZS4vCYHMYEk2BwMuZXVFLADSE47EylqPXV0Ht4GwhmsackCP0C20KfFXbsTPf2SvgHr2HFwRApCrazzt7uef4UGMbeOgK5RHu2hjTrpeei3WmhpV+VjkT8s/Zfu1eeJUY3CSZPebQ3ly3GJtyMBbigzaB0VJYpL0m3a8ElBE1gNUe3P+syp+/yy4x2FgGs3fyGltrP27sEx7pLhaHBxEd7nwrZk26W31TX+oWRxd0eSdWxOjUOLuVm4jakpBnt56uH6I9OkoGKBDxKanVZu8aNOqEoZZVX+Pcec4LXU0RFIjiF6tnj+Fv4zVrQoE4TuEvsvQNUaeVsQumI X-Forefront-PRVS: 02788FF38E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39400400002)(39450400003)(86362001)(305945005)(1076002)(6916009)(6666003)(25786009)(2950100002)(6486002)(2906002)(3846002)(6116002)(2870700001)(54906002)(189998001)(53936002)(53416004)(107886003)(110136004)(5660300001)(38730400002)(50986999)(76176999)(2351001)(4326008)(66066001)(5820100001)(23676002)(81166006)(47776003)(42186005)(36756003)(33646002)(50226002)(8676002)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR06MB2774; H:skyninja.cnexlabs.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTRQUjA2TUIyNzc0OzIzOmRaV2t5M2F0dGJYUkZGSHhidGtoYm5aQXdZ?= =?utf-8?B?blB5N2tnZ0lhcjFQSmVUeDhyYUF2RTBHWXp3blRIb1hFT1QzVll3RTFiVkMx?= =?utf-8?B?aHVuWmNqOGJGNm56d3dSb3Z1RHlTRUczSnkyRUQ1K055bEt3ZlFjWnNOSmlz?= =?utf-8?B?bDFDOTJrNVQ2ZjlBTHB5YW02OGZ5Rkx0bHNQNWxYQjlnMnRLQnZ5Sk1PTHlG?= =?utf-8?B?cTRBcjdiUkNQUGZ2eVZHOFlJK2N4cWpHNmJYWnF1U3REZ1VqOENCK1dzL0hJ?= =?utf-8?B?NXFHblRGVmlUckZ0ZnNuRjR2MzEvUT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rUjZvd2RtVTJtS09SYTFManp3ZDExWitM?= =?utf-8?B?QWtKNmFRL0VQc282a1V0dmlCOHNXZDcvR05NM0gzN1pZRUpMYnNjaHcxYnA5?= =?utf-8?Q?qj8w+VMMWYp+9ctODu8+VXpwBcPCjGYg=3D?= X-Microsoft-Exchange-Diagnostics: 1; CY4PR06MB2774; 6:DyjotEcIEm+SJsIjlAgx4w48QjYq7BI385rm8zU9GodZ08irojuQw+WnM/m9YkD07e/uCFCbfDam4G+nq/+vJyZf4sUQoE39uW8chagc8iwBWQaLpx9QLW23f8+cM/CBVbv6+Z5lpOHeJaS54lxFxJXFZ/3zGBVGKunpraPZ7oo5i0k9IFKG5Fq9rlROxp6p3vDL1aa/u7qgJh/01CxmFA7P855cXAfIsuS9YXPYDcz5OMEGtpiLygHoUxentrK4qckVE0/+8N6fmnKP5la2UC/UmDD+8nWVTVukjkS7DOGYiuMJkVQGZj3QEDXuHswHhMtdYX6Ofq6YFWvCm1CBOa+PLtodSc5/FpYFf3+2XSIdwGt2+9AIZuWTwpmJtkpPTur0NW3Cg+l9WkP4pL7jjTtUE1UX5pLuLAh8J/qZf2wKNTj5DkVYlLIKHfSLy1VJl4e7h0hnvnnje9IsA+Qipg==; 5:9hV2DQtfLQenL5qNI1jVTwyO1/gkGD2E332StW2kuSkZVkGi5GPRQss+M/P8VWl8XnjDrXa+UfviChsEDgS9zSx0ZVB/iTviy6OrOVkoC+Dfbojh8MvxvE3WxEsJznPWT2RLrAtNPAi43RH20v5G/Q==; 24:QD6u5pxo6ZqPiaYj1PesrbzvNVx9PP/KGTm9gQUEIG7uGFP3ywMmUYNUV48WDjJu2fJDEsvH08gVDelPhxOUz3TIvT9lgLM4fQkF8UEbWBU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY4PR06MB2774; 7:zH+BQmKy71bvnDVOlP7OHbeUWzSUvKdoMxYMJjOaWW5F5t15Y5R3mWJ8eCAq6OilbgJw4CkexsYxpMRuB7Xl8373RpWQRH8DOaI+vTzgTe/+WkH/NmKuXf6rURaGo5Ft2c5AY4pRm7tEEAZb9JJHtXSvbaMyDttGYf2JLiT6Q4Lbp1VJYBCXc+0COgVLc8mb3fvRC0AasF7g5FpsT8qzuqheSPWir4yXlJOVc5K11XMY9pfcILkp1eOMReiJpEvoaF/0tsALqRutfvOTS6emAUdkAE76ckwo6sJEzW+M4Ebihi0U+r6sjhg/oIkhSnu+upveJU9XgBBYjhWh7jUOPg== X-OriginatorOrg: cnexlabs.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Apr 2017 18:56:26.1772 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR06MB2774 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 |
diff --git a/drivers/nvme/host/lightnvm.c b/drivers/nvme/host/lightnvm.c index 12c5a40..4b78090 100644 --- a/drivers/nvme/host/lightnvm.c +++ b/drivers/nvme/host/lightnvm.c @@ -754,7 +754,7 @@ static int nvme_nvm_user_vcmd(struct nvme_ns *ns, int admin, c.common.cdw2[1] = cpu_to_le32(vcmd.cdw3); /* cdw11-12 */ c.ph_rw.length = cpu_to_le16(vcmd.nppas); - c.ph_rw.control = cpu_to_le32(vcmd.control); + c.ph_rw.control = cpu_to_le16(vcmd.control); c.common.cdw10[3] = cpu_to_le32(vcmd.cdw13); c.common.cdw10[4] = cpu_to_le32(vcmd.cdw14); c.common.cdw10[5] = cpu_to_le32(vcmd.cdw15);