From patchwork Fri Jan 20 21:04:27 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: 9529433 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 778B56020B for ; Fri, 20 Jan 2017 21:06:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 542CB2868D for ; Fri, 20 Jan 2017 21:06:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 48C33286D3; Fri, 20 Jan 2017 21:06:58 +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 24EB32868D for ; Fri, 20 Jan 2017 21:06:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752203AbdATVGy (ORCPT ); Fri, 20 Jan 2017 16:06:54 -0500 Received: from mail-sn1nam02on0063.outbound.protection.outlook.com ([104.47.36.63]:18646 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752049AbdATVGB (ORCPT ); Fri, 20 Jan 2017 16:06:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sandiskcorp.onmicrosoft.com; s=selector1-sandisk-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=ukYCivlFTcM1RaGvI3aUbf6+uthQ+A+kcmxHxjYsRuk=; b=oWSFQeGwP/Uw5QS+rWAJg7q9uTgb0nki1ap+AuKmPtDedbBH8kyISSwNLr/IsbqSxHXfC2gYZXf3lAur6XGd1Q3WuqqnN5Pu1wySFdXNloZKfJtM/eAiU5plPaZRY5KDn1QEONpCZlVxncV6voAx1f+qWmP+wm7wFw0H23TINIo= Received: from CY1PR0201CA0015.namprd02.prod.outlook.com (10.163.30.153) by SN1PR02MB1422.namprd02.prod.outlook.com (10.162.0.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.860.13; Fri, 20 Jan 2017 21:04:49 +0000 Received: from BY2FFO11OLC007.protection.gbl (2a01:111:f400:7c0c::103) by CY1PR0201CA0015.outlook.office365.com (2a01:111:e400:58b9::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.860.13 via Frontend Transport; Fri, 20 Jan 2017 21:04:49 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.225) 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.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 BY2FFO11OLC007.mail.protection.outlook.com (10.1.14.254) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.803.8 via Frontend Transport; Fri, 20 Jan 2017 21:04:48 +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 6F.C8.01420.14972885; Fri, 20 Jan 2017 12:55:30 -0800 (PST) Received: from milsmgip11.sandisk.com (10.177.9.6) by MILHUBIP04.sdcorp.global.sandisk.com (10.177.9.97) with Microsoft SMTP Server id 14.3.319.2; Fri, 20 Jan 2017 13:04:41 -0800 X-AuditID: 0ac94371-7ee9b9800001058c-59-5882794100fc Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 20.43.16817.96B72885; Fri, 20 Jan 2017 13:04:41 -0800 (PST) From: Bart Van Assche To: Doug Ledford CC: , Bart Van Assche , Christian Benvenuti , "Dave Goodell" Subject: [PATCH v3 27/37] IB/usnic: Switch from dma_device to dev.parent Date: Fri, 20 Jan 2017 13:04:27 -0800 Message-ID: <20170120210437.26389-28-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170120210437.26389-1-bart.vanassche@sandisk.com> References: <20170120210437.26389-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrELMWRmVeSWpSXmKPExsXCddJ5ka5TZVOEwcNmNouWlWYWnV93slq8 PP+B1eLZoV4WBxaPKb83snq833eVzePzJrkA5igum5TUnMyy1CJ9uwSujNfPOlkL2jkqrvS0 MzUwTmTvYuTkkBAwkVjyfzNjFyMXh5DAUiaJLb2fmCGcbYwSf/beYIGp+vHvNjtEYjOjxMTl v1lBEmwCRhLf3s8EKxIRUJPY9GoRWBGzwBxGiZMnnrCBJIQFPCR+vtzHCGKzCKhKLP22Amw3 r4CDxPwfX1ghNshL7Gq7CGZzAsU/Xe4DqxcSsJc4fvkp2FAJgV8sEp2/1rFANAtKnJz5BMxm FpCQOPjiBTNEg7rEySXzmSYwCs1CUjYLSdkCRqZVjGK5mTnFuempBYYmesWJeSmZxdl6yfm5 mxghIV24g/H1be9DjAIcjEo8vAoBTRFCrIllxZW5hxglOJiVRHhfAyNCiDclsbIqtSg/vqg0 J7X4EKM0B4uSOO/F6I9hQgLpiSWp2ampBalFMFkmDk6pBsYg/gTzrFXfjvztSLFZeK9UYL+S UIJoXZfml8OunNpr2PUW8tqcfT6JbeNF+86PkiyGr9liLVdOm2Px8VfM+UMvNr45ph58ba1M gElDla1NQkSo/OSJvL8WH22o0+Nul958IPvT3xudP3saQ+8pHzBdtOOB8ItjvW9uLfeK+s9/ 68Cn6z9TQoqUWIozEg21mIuKEwFzWQQUZQIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrIJMWRmVeSWpSXmKPExsXCtZEjRTezuinCYN1UUYuDP9sYLVpWmll0 ft3JavHy/AdWi2eHelkcWD2m/N7I6vF+31U2j2lrzjN5fN4kF8ASxWWTkpqTWZZapG+XwJXx +lkna0E7R8WVnnamBsaJ7F2MnBwSAiYSP/7dBrK5OIQENjJKLJnWBpZgEzCS+PZ+JguILSKg JrHp1SKwImaBOYwS20++ASsSFvCQ+PlyHyOIzSKgKrH02wqwOK+Ag8S3nUtZITbIS+xquwhm cwLFP13uA6sXErCXOH75KfsERu4FjAyrGMVyM3OKc9MzCwwN9YoT81Iyi7P1kvNzNzGCA4Ez cgfj04nmhxiZODilGhizr929l6SSKuZacOxDw1w9CVOTH4lPm05qHvB6E7NOWV//buebJZHP WwLf9Wp08lxY7hH1oF9nK3/W1zj1qfP+8PFf3Os1Tfh+1a7rD+PDHjEVzBDsOOJtEKH354PN nC17It2XTt+cqR7Oe2/bfyUWJQvlfI0OHY01sQHcYb+u3mTqX6X7/IkSS3FGoqEWc1FxIgDx eZeHtAEAAA== MIME-Version: 1.0 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:(10009020)(6009001)(7916002)(39450400003)(39840400002)(39860400002)(39850400002)(39410400002)(2980300002)(438002)(189002)(199003)(53936002)(305945005)(33646002)(54906002)(110136003)(77096006)(2270400002)(38730400001)(76176999)(50986999)(5660300001)(47776003)(86362001)(81156014)(8936002)(50226002)(69596002)(626004)(92566002)(81166006)(8676002)(2950100002)(68736007)(6666003)(4326007)(6916009)(5003940100001)(48376002)(2906002)(189998001)(356003)(36756003)(1076002)(106466001)(97736004)(50466002); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR02MB1422; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11OLC007; 1:9ahrhkya1yPHxpd9DIA0pDfQ+51mKmsIRfA6CjvkaZqXRZA/KXxSh0S2F1lPiPLXQSllv5wHos+KfW8qNB9l7PGRy2oTJX3BIRkrGKYfa73x+mSTqF69muplewwNzAi+43kkO+53gZXD2PwoR5aGIt6qOgb4JhfdoTp+Rmp2ZFBeUtAapHOvAA+nHUkTTRwXlNFmicD4m4L0xf1HxCFx15d6Y36xf4+gYzCafm1fK/bAkeal3bNuuJF+B+Y9+EEDf5PCfR1LLvgjqf0LvZTjgAVvPeDuunoeJkCCUy5GSUVgSQGJoGHAJ3CwkaOnHArEB+3lOIZrTjIqlRm1sLRXD8bj8i+PL8LEAcgcc2hBtJeEicAGe4CqpGW7PmcUf2eE2/ROTyfwmctjr4lVujBU3ZBTuk2H3nYgdOKFu7LMZKTyHn97U5hAxn05FvR3dLxhd8DKdT1XtrfFGOm34v0sr7J+kXiPaIg3QwEOmzn776/fbRgK/i/uPNmhBMy1iB8BIPrwrZjKXCkfnwlzSeV2NQ== X-MS-Office365-Filtering-Correlation-Id: dff0253d-ef53-423c-4a67-08d44177f7d4 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:SN1PR02MB1422; X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB1422; 3:wnx8CPN7Yyjki/UfxoTPK0tE7hkAPV9OBtJBCUutCTOvRmOeGpeAAjUoK728Z8YPY4Z/oPK0PZARTK4ScX3mmJwQGiBqeYjlkVWb1oe1fIlUd0vqVTC2A+t7+vv7J2BMyDD7ND3unlSuQp9I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n4g+tguvAT6y9RMRzHcD+Z6qd22ZAs/3gGu2n/PTZQ/os8iY6xi X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB1422; 31:4FStLL/9djCXEu0KI7DHGzRKUUdJxe1wAdbYNGenRZ79c/xcY8RVR1h0Ojw62mNqL6xCkEd+HKNgy0JbRob0RsiyXUIw+U7MJ6pytV6mNQPs16Su8UOnB7+a9BZMqlOd6t6d4KworqsuTeTZrXcmLNmMbbOiHDCX6Fwrrks9mO1qbijtf5c1iPjsxUtH0IO+Wub09RICiXTvXw7y6EiIJuBs+gJV2OmAh2+3VA9GGWR/mDqdJRVXSPGH5TKH+ktvZL/Y/U8uOra8ObVNQh3C67JC1OqekJXsPTOD0upywXI=; 20:gJy3rd9lh0bSTrA7m2gNB2ZtLVCSAh0A53yAOnpdEU1eIT40heYmrEUaM4voaMzdlVh/yjwcut0u6uhLrkrbteV+HNKF0DQMtaCU5hw7Cn77e1KJTMSWtSDeG2nWgN988xnPXIChw4p4CIVnL0sNbgh3Af+kHjBjfYnxj46HnuXpypwChEJe5U2w/bnNIACcAmipdwap92fBMBbT9EJKNVxD6P7eknj/QGgTMIx0ijyH9aW3fazncKCGYQ64PXFHyX2uUXTWsb5fA8+TIsE6MmxssejAMnqMSyAW0/L8mn424ExcOKjsVBlxCc9tzq4All0A2rZPBKZdqzHbnX9AuaQiNnLq5Fme9oSpyJaOPPP5xxaOWOOXETJDhgHWNi7QxMw1RsVBlWjeqU+OtauOJGCUgz/lA2sLh1Uimmk/6EnLUKgxpaVKJaEsQsiIVE4HXZ0qA7Ycm+PqfciBVPCHtr6i33gxE2ZuIAYH/SP0HobtlqlWtie4Tby0n+gLk9nZ X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(95692535739014)(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(13016025)(13018025)(10201501046)(3002001)(6055026)(6041248)(20161123564025)(20161123555025)(20161123560025)(20161123562025)(6072148); SRVR:SN1PR02MB1422; BCL:0; PCL:0; RULEID:; SRVR:SN1PR02MB1422; X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB1422; 4:Uv4ifYP2d8ShcHvRiJrDPEj5/D+GKp+lg8LT0IljUH9fQRKpP/54MSLiwr0JGDTVRYT7ednkHdBk0S33thavXVHli0gPXZiUqyESMwk3UqR5+dGo0XVR6WEmxZAwG/J49+dZyIvAScf9D1L+L1QQtW08HgQBG4yRDygJ695zgdOS0HdAEJYdUiLvM4Ltd7gidFBJhQg+Vgt1zV4TKWZ5i4AorEDNc/wudWWuBagqpHkPflZyh+fGJQURCNjzA9MIicPfOUGHEYv8AzHDrT75COUPuZkp0paFSczwV7zLIDDpiAR5MmyEZvjI58W1UkgBWjR3N0l5rPo1XDpOwE5eHPX6DYLyBIX/tUh//AiIwC88ksPndLZRVN8+34Ri/RSznGKcFmP7VhSwqx0P2csVLqQwgtG4GaADwB31Xgwavjf9JnSEb8v/XvP26UMP8XaXetpoBlmgD/Oe3TiCfHFsIMsPc6b8SZFtkgo5pCHpEbv9F6uCk05CbSO50RFxUYo/p4iBQqOAgnq/X+4Eiwd/jSem2BQnp2w1vVc1xjz/Ily0UBB4wVMKTm1dfCO8tHkXnT3DHNSRspCMQO8xFvKtc+MYSezrF4QwSeqUxMUqAghjlZle2klf2GOrQPpgwglIBfUXbVmcC0K31HAjBVe6V+KAOKyPZO0QtMqAMpQ4RfGiAkraZeKwZmjB+PoCAZBZuAHbmoTvuNnU9ezapI/SDA== X-Forefront-PRVS: 01930B2BA8 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN1PR02MB1422; 23:4Bi2RssuUB1EuhdJsFjhpVs7IGsx1hx5ptP/le6y9?= =?us-ascii?Q?TIabUs4ObzbQiiefuG2/QaxY+BV8kMJtJ9OMZvUZ9UJjGT3MQw2lgAUCis/3?= =?us-ascii?Q?5FCpvOeh0aUMD4QejQEsEGtCVk5bPzCrLQ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hIlpQWbHn1DYKApSMGVmD9kHXQGj6NA5jAt20qJKQQCO5pf1k3+284PkoTWQ?= =?us-ascii?Q?zylNTEnW9rrkA6wKV494sGG4btN4yZOrLD/HgvSOecSZMjjlARZ10ox49F/5?= =?us-ascii?Q?DxNMSH6+DnhAy7bwebEeAIdIdbvno1kntfTB6wX45VCE891BgLu6Q=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB1422; 6:YYbEtAuWDF9XQvJOCQYaGHEqBgbfksIHEeNVDgcXvB/arJK0t8z2QvtXMmU0Cv2k2u3ZqYS5FMNq0FODVtOJpjv34b+jcywM57lzCmhiITmls3V8Wunxivvsi1aQN9IMIQrd/npZWMHzGVcaY6wuHJyzC40O7SwLUo9WdClukKI1zfBmUAFz0EA9VZtoHpz7OGrhgBt8DXoVB6tW+qSpEbAFTiaYPfrU6507iXeI7ddW9ahQHVj3oJ855uAf0dcVZOoCwcFXoGvVFh8GVRilSkbYTlM5FED7qwWEB9CA8L5kfiy42+HjrJULbfYcfCsRq+89HkWT9FQC/JNwYw+SjYgSXwrcjx8yvqXZj5QDkLPrILMdMx3Vtnz79YlRv+8OA0ZXi3p1UM6Jqc3z9Hjyxm772KJOOoxcHHKKZxnxz3sCvUdo3O4j6pXkNgjg+OLHbHPE4LG8qTuBwnbFjB/4AA==; 5:u/fFTeSna1eJ22A9kcQW2Hi6iBSx7aeqAMrpDw8fhtvQdpjfOVDLkHAjRRVyKmZzsnE02nWX3GVwQKdnDdwsDe9CP2SdKs1wrLXIr8OW4q2e0W+qXXneqGLkHWFLR6ahRPxxNuJFsWUmhhJvMYkzhA==; 24:AiP3XtzQMs2B6z3dTKNXRKM415gyWsm0os0bSqZALbV7bGekaXWmUk9/3PRDUMfZSmOwg2bI1TimvIIauZd3+btvHY5rpoRQ8DpHIPh4t9o= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB1422; 7:z3r3bQ/iME3RI/xdBEgH1AESsFUJEPTdD4+eYEsJbsLnCz09Ori+YyRo/nrN0vfRe9oHLL8TPCYSq0pVP8gXpnWH2jpvZ2C2PaBO3D6/3naGvVWxuNICO9y1lr0WTJ67qHVB3Y1JZojba469sG/sPJYKtKciGxJouPxgD+oRoPQIdbF3mvS+L++0XIGezxVpOqHhYUu24mIg6b6SPemdIPf4pAgjlVUAEsBGFxw4j81iLXOR7JyGFAxCTIsa/NRecbss0nH/aoKJfMlCEQuCyFHWls6E+Lf7KVD5xQaJIS7RbxL0jVbp0ROEbk+nb6xCTaEE5HyXxSX5PLO8qDREnVKcIJYpho1TOTfq/rbHeQSouXLF0lFU2bLmdNo2ac9jNiGM71Dx86AEy82wnZfdy4DloLlo1SNadGQBXq10jHJKQF1ZNBub3fH34Nqja7y3Wn9yHb6mz794vq3NwIdmKg== X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jan 2017 21:04:48.0413 (UTC) X-MS-Exchange-CrossTenant-Id: fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d; Ip=[63.163.107.225]; Helo=[milsmgep14.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR02MB1422 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 Prepare for removal of ib_device.dma_device. Signed-off-by: Bart Van Assche Cc: Christian Benvenuti Cc: Dave Goodell --- drivers/infiniband/hw/usnic/usnic_ib_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/usnic/usnic_ib_main.c b/drivers/infiniband/hw/usnic/usnic_ib_main.c index 0a89a955550b..d44715cda108 100644 --- a/drivers/infiniband/hw/usnic/usnic_ib_main.c +++ b/drivers/infiniband/hw/usnic/usnic_ib_main.c @@ -380,7 +380,7 @@ static void *usnic_ib_device_add(struct pci_dev *dev) us_ibdev->ib_dev.node_type = RDMA_NODE_USNIC_UDP; us_ibdev->ib_dev.phys_port_cnt = USNIC_IB_PORT_CNT; us_ibdev->ib_dev.num_comp_vectors = USNIC_IB_NUM_COMP_VECTORS; - us_ibdev->ib_dev.dma_device = &dev->dev; + us_ibdev->ib_dev.dev.parent = &dev->dev; us_ibdev->ib_dev.uverbs_abi_ver = USNIC_UVERBS_ABI_VERSION; strlcpy(us_ibdev->ib_dev.name, "usnic_%d", IB_DEVICE_NAME_MAX);