From patchwork Fri Jan 20 21:04:16 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: 9529485 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 82E946046A for ; Fri, 20 Jan 2017 21:21:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 751B7286CD for ; Fri, 20 Jan 2017 21:21:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5B131286D9; Fri, 20 Jan 2017 21:21:49 +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 8FC21286D9 for ; Fri, 20 Jan 2017 21:21:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752452AbdATVVq (ORCPT ); Fri, 20 Jan 2017 16:21:46 -0500 Received: from mail-sn1nam01on0070.outbound.protection.outlook.com ([104.47.32.70]:4733 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751576AbdATVUS (ORCPT ); Fri, 20 Jan 2017 16:20:18 -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=SuoqKqmwQmoyKG3JHs2a/rcXIStnSlE2Tx+rxCGh5zQ=; b=aL5rcCWNKhWCdc9b4+pWNJw/kiC9OAwk76ivENy1+T4RuUMWaB1R1+cERBUBLZi1qSNPO5reRY4Wd/AJYhW3M7Bch4Qrf051DnyvmX63yjQ1zpOphYyJFXpq59JTn5BQ043fGWK9r8oqCFbZQeLckf7zxoGinr9gFTHvHRa0nnY= Received: from MWHPR02CA0009.namprd02.prod.outlook.com (10.168.209.147) by SN1PR02MB1423.namprd02.prod.outlook.com (10.162.0.27) 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:47 +0000 Received: from BY2FFO11FD019.protection.gbl (2a01:111:f400:7c0c::188) by MWHPR02CA0009.outlook.office365.com (2603:10b6:300:4b::19) 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:47 +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 BY2FFO11FD019.mail.protection.outlook.com (10.1.14.107) 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:47 +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 4D.C8.01420.04972885; Fri, 20 Jan 2017 12:55:28 -0800 (PST) Received: from milsmgip11.sandisk.com (10.177.8.100) 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-53-588279404cb0 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 6C.33.16817.86B72885; Fri, 20 Jan 2017 13:04:40 -0800 (PST) From: Bart Van Assche To: Doug Ledford CC: , Bart Van Assche , Hariprasad S Subject: [PATCH v3 16/37] IB/cxgb4: Set dev.parent instead of dma_device Date: Fri, 20 Jan 2017 13:04:16 -0800 Message-ID: <20170120210437.26389-17-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+NgFjrNLMWRmVeSWpSXmKPExsXCddJ5ka5DZVOEwZ4rIhYvz39gtXj29jaL xbNDvSwOzB5Pd8xh9Xi/7yqbx+dNcgHMUVw2Kak5mWWpRfp2CVwZbyZcZy54wF5xaPZD1gbG N2xdjJwcEgImElvfzWUGsYUEljJJLDgn1sXIBWTvYJRYdes2I0zR9aUHGCGKNjNKbLhWD2Kz CRhJfHs/kwXEFhFQk9j0ahE7iM0sUC4xfdJisAXCAh4SZz4uBFvAIqAqce/cWrA4r4CDxMsf i5gg5stL7Gq7yApicwLFP13ug9plL3H88lN2kIMkBL6xSLR1NTBDNAtKnJz5hAVimYTEwRcv oD5Qlzi5ZD7TBEahWUjKZiEpW8DItIpRLDczpzg3PbXA0ESvODEvJbM4Wy85P3cTIySIC3cw vr7tfYhRgINRiYdXIaApQog1say4MvcQowQHs5II72tgDAjxpiRWVqUW5ccXleakFh9ilOZg URLnvRj9MUxIID2xJDU7NbUgtQgmy8TBKdXA2Ldj5cnw6PSEFxHmS5PkFD97LXrLuz1t7rol nV+u500Lrp6hx3EymKWF42l9/JdXFScecc1ecH0b103PA9MyDdhb3hYILNq0ZOXCe+evmXZ1 28aUTr3yiZ3zE3v+/1deayqO7rjdOWXzXs3y3JDPN9bKhE7bkvPkopyhQcL/Hy8c7b0q8iw6 piqxFGckGmoxFxUnAgDCF5hCXgIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprDJMWRmVeSWpSXmKPExsXCtZEjRTejuinC4PBhQ4uDP9sYLV6e/8Bq 8eztbRaLZ4d6WRxYPJ7umMPq8X7fVTaPaWvOM3l83iQXwBLFZZOSmpNZllqkb5fAlfFmwnXm ggfsFYdmP2RtYHzD1sXIySEhYCJxfekBxi5GLg4hgY2MEt8fTmQHSbAJGEl8ez+TBcQWEVCT 2PRqEVicWaBcomH5W7BmYQEPiTMfFzKD2CwCqhL3zq0Fi/MKOEg83zuZBWKBvMSutousIDYn UPzT5T5GEFtIwF7i+OWn7BMYuRcwMqxiFMvNzCnOTc8sMDTUK07MS8ksztZLzs/dxAj2P2fk DsanE80PMTJxcEo1MF7bsVby6v0/7Gq1jAXvZnAILo0Jf5r28nlLzeJp/HMmi3gmdCmHT7o9 efeeSk3Wqd2ySXYrFPIuTEvJ1A+vdHTa/sBK/mZ8jkLg3IjqO4YFp5KnMSjebJvxRW2Vg7KJ /EVjy2nSszsOpV3I8d0890qXUeMyzV/VX0I3p/czXV9QnXVfyDhJV4mlOCPRUIu5qDgRANzs urWvAQAA 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)(39850400002)(39860400002)(39410400002)(2980300002)(438002)(189002)(199003)(2950100002)(6666003)(6916009)(8936002)(50466002)(1076002)(81156014)(8676002)(48376002)(356003)(69596002)(77096006)(50986999)(86362001)(575784001)(38730400001)(76176999)(626004)(92566002)(36756003)(47776003)(81166006)(305945005)(54906002)(189998001)(33646002)(50226002)(5003940100001)(5660300001)(110136003)(2906002)(106466001)(53936002)(97736004)(68736007)(2270400002)(4326007); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR02MB1423; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD019; 1:5CAatoPBcoGF5jC8TnElbplU6kmcpoEhyE7SLaD76olqxI+6PcDsF13P63tOUWsl3icscP6YGkcpH3RskI8K4eXM9tXE3l6OYV829PgNcQGnryMk0iCvwH2ywQSEA/SlwBKiekqzZpEl8POEwwQGBLAZIcbBX56lFyVorl/BLZmcgVZcJZ/rV27XzGvvug2zshtO2SeYEatAsNc6YJVM+MqKNZPAjvcWgB1gO9JwQkgkFdA3pFFZpVNeJN5doERawFLeJFJyS8hNJcYX1d/+H+LsSYDstKqCwxDr7F0G18AlxoAGgLh0Kr4jYB5qkUU3UFNnUJSxwf0XTdNvqkhL7JdNLt7Q884NnMj2Y1KyTDogtcDJPCrVFT6d63RDvK3jFGuEntG2+ZX8Iia0KCpstBkYd/WYVknOggiptYgDUV6sRqhB6qpwqCwaCFopIDur4QfmG0gF/ZYhTs0ywz//KbGhXi4XYr6Z1lbfDSVH7PTr2D6lAwGYLKsqeSqq88jW X-MS-Office365-Filtering-Correlation-Id: e884fa21-5747-483d-8840-08d44177f76b X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:SN1PR02MB1423; X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB1423; 3:1YSHeXH6txxXD6BcCbXzBOolKulYqx7q47fC/XZ634jKSrxQ5kIyiy+8/xDABVQxjjqIV3vLYWj+2IToMHcL/KXqxr6LQe4niYcOfAKygkpKlhj2O/8awvoR7nzi6ud3K4jSgU+4s0sn/9uQl6GiBvy8zwPFh8G1rxHCe+bWYFwZEam1V6OH53NASNrlTFd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+Vu40yuNPcy9kNWqADK4MKF7NNy/0G5jqYBkAaB5hAlNNiPQHa3wZBURJlB3yBMORGrb/S+o2aa5265kq7PrZCQx78gBxCdIohh8zXhDmqMmu/MRRYZHFixsYhMO50fiA4RzqgKdtHdlJP2tOEpVxlJ7BC0XCUN4QYlYA3eGrbma06M0O5E+g56UHYEFhpxAGKfEcKSuXx5JOv/F8pFhfcESPjJ+Sz3/+9p3hsCtW3Lp0Tc8CpqrapIIYB87hEpJA3K5sz81uw7WxQM5oZXagLE1IRmuyC3IkgVhdP16Xay+jxbkApfMQQ/BuwwFjdsFku32acY+pHNv/FMvMRtraikOSwV7sDupobhiGaHOVWSbg/xT60kGJjx+8RMaArpJPnG9eF9gbni84zS7e029l+bDa2teq+moI2hFdP+B7S2+vfQQNM+tG3VfZGeGYzu4j2rACZtgG3VTsxNmfyrzsDgyprCWD X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(13016025)(5005006)(8121501046)(13018025)(3002001)(10201501046)(6055026)(6041248)(20161123564025)(20161123562025)(20161123558021)(20161123560025)(20161123555025)(6072148); SRVR:SN1PR02MB1423; BCL:0; PCL:0; RULEID:; SRVR:SN1PR02MB1423; X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB1423; 4:qpVtK8b+I74IT7lwSPXAmuitZjSVVPj2pmlRyFtoOtypONLvF+Hjmx+hWwSIkFozsTOCL6JJz0PYLDiL4n+sHUWniuVjfsd8arrMT0yGULY2kPmfrGPWF0CiTy7HMj4nMf38uaQExOLx6mKhzSjZ6o/Eg6UCUVIFSq/UMvOhqyUGDGC8gQay8COfKhBN//yiMeW15CiEgjTfRaNmMO3TU1K+307LnmABUkwi/kTLvcR5hMc92av6AQZ2obmq0mdciUkkA0thvd/USs7Kpy/fBScBxf7cTklWD6C/KnnIvW+T3tY63YXLCxaynNwL2cVduIS+tct6Y6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7/FiuywUIrBbN+xPKqitHf+XR?= =?us-ascii?Q?EVunwtE+bv/ikR1vEM2yG79F+tX/JKQeyubhdxFy6T3wefQK2OaDUUYgI3Pw?= =?us-ascii?Q?aUyogYbckrH9xxfgEKKgrwGStQmV5hoS3lAEK9LthrGjonDjHQV2eeg6f/Mj?= =?us-ascii?Q?7WH05GOodt58zOaI+VveqzWkMkJxSAyBY14FtP0/yj3n7a482vuK7pH13b7V?= =?us-ascii?Q?J30SlTn3e8PcafYDuSXMXv/whc8BI5TxLehNiPrUXneZDHtc+rq6lvlkfYHZ?= =?us-ascii?Q?JlKjfa9MS47Br9R+ANSIGuMcSBcAsOydFu3BJEx/7BGlxLORxXJATlusrRRI?= =?us-ascii?Q?lH32fSLNqs/qsmCu1izdQvPiJOdb0Q9SY+4ktZfvUXX4GfhV/8Q5rSB03uhd?= =?us-ascii?Q?F1lz4Mn+xvULhDzCjY5Z78Q8V8YRPt/q57RxJP+VAx3vQ0o+VajJFsdjJKzb?= =?us-ascii?Q?zzS/uARnuPEgJNfIEHDT1moAE/r+I/x/yqfQ6EMWhSRCwfwKRst7lywQed2+?= =?us-ascii?Q?NtlEEX1thzsVDvXoH93s4meghIqEhvgf/EE2zOEevjfm9vwrVSOqmgTlLAVd?= =?us-ascii?Q?dr1rUuYJtM1D3i8gr6j6N3MEE7X6mYKZD3fE4Bh+NMvKf5Zh18+o3ux81VL1?= =?us-ascii?Q?RcBw0Wcatz9xDZdd0XjRqDhrLIxouREicxaaqZwUgwqPYQDRNbNStMxQ9txl?= =?us-ascii?Q?Wg255RkL/B1a9s=3D?= X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB1423; 6:WnUfLLXh0a3fhSm9fbqF7XEd4omrtLuDNyzI67b+wGz5VDhjPzOGH9zSVphCokeHbddN+rxv/mwgw0X5BTFD7Mlm43f76F0KOnXuCxDqFZamx72UQD/OLgyiRqZgguCLkwgWHngzt/78tMIA045wfvCu3Q+v/LyxpNhUQi5m++yXvGBGoVhX6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WqvxJiFlS0UBOzoFLew== X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jan 2017 21:04:47.3703 (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: SN1PR02MB1423 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: Hariprasad S Acked-by: Steve Wise --- drivers/infiniband/hw/cxgb4/provider.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/cxgb4/provider.c b/drivers/infiniband/hw/cxgb4/provider.c index 49b51b7e0fd7..6daf6d95e620 100644 --- a/drivers/infiniband/hw/cxgb4/provider.c +++ b/drivers/infiniband/hw/cxgb4/provider.c @@ -569,7 +569,7 @@ int c4iw_register_device(struct c4iw_dev *dev) memcpy(dev->ibdev.node_desc, C4IW_NODE_DESC, sizeof(C4IW_NODE_DESC)); dev->ibdev.phys_port_cnt = dev->rdev.lldi.nports; dev->ibdev.num_comp_vectors = dev->rdev.lldi.nciq; - dev->ibdev.dma_device = &(dev->rdev.lldi.pdev->dev); + dev->ibdev.dev.parent = &dev->rdev.lldi.pdev->dev; dev->ibdev.query_device = c4iw_query_device; dev->ibdev.query_port = c4iw_query_port; dev->ibdev.query_pkey = c4iw_query_pkey;