From patchwork Mon Dec 12 19:52:42 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adit Ranadive X-Patchwork-Id: 9471169 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 32CF1607D3 for ; Mon, 12 Dec 2016 19:57:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 114C1284F0 for ; Mon, 12 Dec 2016 19:57:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 04385284F7; Mon, 12 Dec 2016 19:57:19 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 7F9E1284F0 for ; Mon, 12 Dec 2016 19:57:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752768AbcLLT5L (ORCPT ); Mon, 12 Dec 2016 14:57:11 -0500 Received: from mail-by2nam01on0064.outbound.protection.outlook.com ([104.47.34.64]:39488 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752590AbcLLT5J (ORCPT ); Mon, 12 Dec 2016 14:57:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=onevmw.onmicrosoft.com; s=selector1-vmware-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=qtd6hJRDdCfyH9ivFbRikvengXcQY7eJrHckQv3t98I=; b=d3TQWCmV6IWSVg4JYiN/dZe5YSe094qFI+CPCwlnj58KAc5wwv33rq7hw1M1ROyY4Jt/jyUNGhBIVoteQhcjtjbjvCgzEVX14JtN+CHZcyc4nfBOwS6Dfg3lg/UenRgvgxPygqGbcmddQG2NJgfI9RHle/sU5is70hMCK3Mv/Ko= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=aditr@vmware.com; Received: from gandalf.eng.vmware.com (208.91.1.34) by SN2PR0501MB845.namprd05.prod.outlook.com (10.160.14.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.771.4; Mon, 12 Dec 2016 19:57:06 +0000 From: Adit Ranadive To: , CC: Adit Ranadive , Subject: [PATCH] IB/vmw_pvrdma: Update the driver name to vmw_pvrdma Date: Mon, 12 Dec 2016 11:52:42 -0800 Message-ID: <1481572362-19727-1-git-send-email-aditr@vmware.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [208.91.1.34] X-ClientProxiedBy: DM5PR10CA0019.namprd10.prod.outlook.com (10.172.33.29) To SN2PR0501MB845.namprd05.prod.outlook.com (10.160.14.143) X-MS-Office365-Filtering-Correlation-Id: f856d25d-16e6-4266-0f2e-08d422c90d79 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:SN2PR0501MB845; X-Microsoft-Exchange-Diagnostics: 1; SN2PR0501MB845; 3:7ADMTv7YThwJhy5fFnKYjk115Js2Dh6EhoRY3nTD/uJ3L9z1B4y7NpaZSFUh4vbmpKtxSZ65a/mJrsFeuiDzgNjHplfPEJaVjNG5dWfVjPF912Tn6H+A18JSsceRzGJDI8qWrO/vnh58mKPXuCn+umqOmRKMjG4w5fJEy9sFhPXDjrRLAncDMyfc8O72dNN+MxsYeSdRHMd+KqAOVv5IiGQuGNMacfEGvkWEEJ+Tf8FP9FrmZfQ7ITp0YyjD4+e0SpeKfDzXCpOWWM5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+qA1evppJIF2BfmXOMTMUDC+SbXKFbTv5XQa6vvj+EBNKo8YqLR8K32dLpiN4IkbC5g8q0ZlpWXPn+Sfb5qdZG1bjECw4GHytEgpT+iPpOvQ+vISkWDS457sOHTFkfnFTqHSTrcz0yWKfeqURs0rO2vz4VBD2p+mfJm4HeJN6spVg307Yw/jDfI0/T/KH3twP0mr6nXfuGBt+mELqh97rkzvZlCYKOwNMb9ugfSbhToL3XzU5h9gHuY X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(61668805478150); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6041248)(20161123560025)(20161123562025)(20161123555025)(20161123564025)(6072148); SRVR:SN2PR0501MB845; BCL:0; PCL:0; RULEID:; SRVR:SN2PR0501MB845; X-Microsoft-Exchange-Diagnostics: 1; SN2PR0501MB845; 4:kG6R+SVfY4SydnipFHpLO3dX4uAddC6vxl6vLmdiW1yTSqpHqjdgvocMt9LlI4uE9ilkegSeNJmUt+eFqPTSArScEgoEVqTPwtOz1NH15lphQ0x9JshHcVuUkI86H9wWRuKqefZwXvLdVfN27we8y4TFv4jFz0cMmOlOhaQEz/kS8FiptLsxxRIbYZOZCBsSEQ0uWIA0sJ1sLC1ifkkE0raO5319NkhfEIiSutMn07bPbFvigW8+Hrmow30p5PjdKg4Em5x93idPjcX9Q11NX/tqxbEIddlRTf3cPVoJyZxeQphifCJtODWE47+c+BkQRwaUJJbo2ldQnVGlBZHp+VyLg/KFvA7mbJQ2/aDQqPxGp590yTUANgyM/6NF0DUlrLHGkOFtUzfyOZ8h3QdZtvt5XNBpyJCjONbMcIYUgD+r8CDhl8kF7arBCtoIBaYcPMcQR0SydTdLTDPlvwzOt3KdKFJgWsICUtMVLKEXJTudm2Kb3wnpASRUlIw9JcpBqYwV5H+e26icUWdKFKwmoii45nV7N+gIWg97gPeAIMY9UYE+Bqg24lKTXFE4Yu52SWEqgPCILthWUtojQHSX90P6AvRSPJx9SZuQrKagRoKkANc+Oj84kR9e1djcTJC5 X-Forefront-PRVS: 0154C61618 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(7916002)(39450400003)(199003)(189002)(105586002)(36756003)(66066001)(189998001)(3846002)(6116002)(92566002)(4001430100002)(97736004)(50466002)(8676002)(5660300001)(81166006)(81156014)(107886002)(48376002)(5001770100001)(6666003)(33646002)(50226002)(4326007)(42186005)(7736002)(101416001)(86362001)(6486002)(2906002)(68736007)(5003940100001)(50986999)(47776003)(106356001)(38730400001)(305945005)(7099028); DIR:OUT; SFP:1101; SCL:1; SRVR:SN2PR0501MB845; H:gandalf.eng.vmware.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: vmware.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN2PR0501MB845; 23:N+Ja0F1Nk6R5Hk5NazoSoPue+u2utUtioAuNOYHD?= =?us-ascii?Q?L6qRYLvpIBtRiFGoa8EBiqQ7i+2hOkTzkMDQe/plYsXW5skfLZ6yxHIwlHJx?= =?us-ascii?Q?ZomTxaTOe295BYS8j/FfFUMe271ijVqkFdQM9KwJl1lLWuw01yS9Q/BWCFRL?= =?us-ascii?Q?CJWXVBYP0Mmr8khDjNJi9l6AquwzpzB2VYiwfz4oWypWJuet0nfKljJ2fyF8?= =?us-ascii?Q?RnlyoZliB/H+BHRCgqj+4sFeAS5O7LUXgBo2FvTYG787V/34ZFUN99Y2Gfus?= =?us-ascii?Q?1/Q1yM0w/0zm7/pxJ0O3ic71IoHcf0wyhxXWIfr6fPgj1pwTAUEWcwOppdA9?= =?us-ascii?Q?QYQxGv3esE3fMKh0akI9im5udvuJu7jDQe6yWyJMrbX7ElgwrhDmPzOlJjiX?= =?us-ascii?Q?MjRQb0cQttiJWCJeA52VwF7L90IWA5rFTFCGY8D0JR1i8pFyOoyKyAZ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vDShoBqFbv2ZpiDrHRbJAcrbdYbOY91TMBQzjXRJrEI1CrQUWqXLFMvWBZygahEbthwNalgzLzQ6SfMdsmL1JsMs= X-OriginatorOrg: vmware.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Dec 2016 19:57:06.6463 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN2PR0501MB845 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi Doug, This patch got left out of the pvrdma->vmw_pvrdma series I sent out before. Sorry about that. Thanks, Adit --- Show the right driver name with the renamed module. Signed-off-by: Adit Ranadive --- drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c b/drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c index 5510c86..231a1ce 100644 --- a/drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c +++ b/drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c @@ -55,7 +55,7 @@ #include "pvrdma.h" -#define DRV_NAME "pvrdma" +#define DRV_NAME "vmw_pvrdma" #define DRV_VERSION "1.0.0.0-k" static DEFINE_MUTEX(pvrdma_device_list_lock); @@ -77,7 +77,7 @@ static int pvrdma_del_gid(struct ib_device *ibdev, static ssize_t show_hca(struct device *device, struct device_attribute *attr, char *buf) { - return sprintf(buf, "PVRDMA-%s\n", DRV_VERSION); + return sprintf(buf, "VMW_PVRDMA-%s\n", DRV_VERSION); } static ssize_t show_rev(struct device *device, struct device_attribute *attr, @@ -166,7 +166,7 @@ static int pvrdma_register_device(struct pvrdma_dev *dev) int ret = -1; int i = 0; - strlcpy(dev->ib_dev.name, "pvrdma%d", IB_DEVICE_NAME_MAX); + strlcpy(dev->ib_dev.name, "vmw_pvrdma%d", IB_DEVICE_NAME_MAX); dev->ib_dev.node_guid = dev->dsr->caps.node_guid; dev->sys_image_guid = dev->dsr->caps.sys_image_guid; dev->flags = 0;