Message ID | 20170120210437.26389-31-bart.vanassche@sandisk.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show
Return-Path: <linux-rdma-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 D839960434 for <patchwork-linux-rdma@patchwork.kernel.org>; Fri, 20 Jan 2017 21:22:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C83B7286CD for <patchwork-linux-rdma@patchwork.kernel.org>; Fri, 20 Jan 2017 21:22:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BCC78286D5; Fri, 20 Jan 2017 21:22:08 +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 CB4B2286D4 for <patchwork-linux-rdma@patchwork.kernel.org>; Fri, 20 Jan 2017 21:22:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751201AbdATVWG (ORCPT <rfc822;patchwork-linux-rdma@patchwork.kernel.org>); Fri, 20 Jan 2017 16:22:06 -0500 Received: from mail-by2nam03on0067.outbound.protection.outlook.com ([104.47.42.67]:50720 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751786AbdATVUR (ORCPT <rfc822;linux-rdma@vger.kernel.org>); Fri, 20 Jan 2017 16:20:17 -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=eDMDa8EBuEdDy7JZ6MT/U8fulAW37b+MAudO9C94Hxw=; b=Plj1i5P8LXvYp0GBYH58uMp4Eek+Sxoe/YIUIoBOL+gE7floLZdapk9iW1I5seU2WTdYYjb3R4blYhNNNbOlPPblE8Zr/lSgD8xmQAlAinGStTkUQ6Omw615JC7m/qpXAdUhkPql6IFSGuIdT20iA0F+AIMwO3WZWw4ekZ2we8Q= Received: from BY2PR02CA0072.namprd02.prod.outlook.com (10.242.32.30) by CO1PR02MB045.namprd02.prod.outlook.com (10.242.163.19) 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:50 +0000 Received: from BY2FFO11FD012.protection.gbl (2a01:111:f400:7c0c::119) by BY2PR02CA0072.outlook.office365.com (2a01:111:e400:2c2a::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.845.12 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; redhat.com; dkim=none (message not signed) header.d=none;redhat.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 BY2FFO11FD012.mail.protection.outlook.com (10.1.14.130) 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:49 +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 BF.C8.01420.24972885; 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-5a-5882794231d7 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 31.43.16817.96B72885; Fri, 20 Jan 2017 13:04:41 -0800 (PST) From: Bart Van Assche <bart.vanassche@sandisk.com> To: Doug Ledford <dledford@redhat.com> CC: <linux-rdma@vger.kernel.org>, Bart Van Assche <bart.vanassche@sandisk.com> Subject: [PATCH v3 30/37] IB/IPoIB: Switch from dma_device to dev.parent Date: Fri, 20 Jan 2017 13:04:30 -0800 Message-ID: <20170120210437.26389-31-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+NgFjrELMWRmVeSWpSXmKPExsXCddJ5ka5TZVOEwbqPQhYvz39gtXh2qJfF gcnj/b6rbB6fN8kFMEVx2aSk5mSWpRbp2yVwZWw78oS1YDd3xbJ5O5gaGNu4uhg5OSQETCSm rz7E3MXIxSEksJRJoufybihnG6PEn703WGCqdi9tZ4RIbGaU+Ne8gwkkwSZgJPHt/UywIhEB NYlNrxaxg9jMAn4SU040gdnCAh4SS6dMAqrh4GARUJVoO+8HEuYVcJBY3PGCFWK+vMSutotg NidQ/NPlPkYQW0jAXuL45afsIHslBJ6zSBw42cwE0SwocXLmExaIXRISB1+8YIZoUJc4uWQ+ 0wRGoVlIymYhKVvAyLSKUSw3M6c4Nz21wNBErzgxLyWzOFsvOT93EyMkZAt3ML6+7X2IUYCD UYmHVyGgKUKINbGsuDL3EKMEB7OSCO9rYMAL8aYkVlalFuXHF5XmpBYfYpTmYFES570Y/TFM SCA9sSQ1OzW1ILUIJsvEwSnVwDh33qySeWuctxZzFPTn9zB9Nr4ZfeTtPpbk85fO9vNX3lnt Wh4rkfOWraTJqlaXafnJb42KC5aVnhMqMuNYdnLV6hiZ47ymxy3WC6Ys1RQ+EKZkv0rvtXJK tIba+knT9NTa/ubcPs0h2Pqt8IHMPvGKif7h7YErZwhfu5BzYb+lckREi84eISWW4oxEQy3m ouJEAErnObxVAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprIJMWRmVeSWpSXmKPExsXCtZEjRTezuinCYPF0CYuDP9sYLV6e/8Bq 8exQL4sDs8f7fVfZPKatOc/k8XmTXABzFJdNSmpOZllqkb5dAlfGtiNPWAt2c1csm7eDqYGx jauLkZNDQsBEYvfSdsYuRi4OIYGNjBIv37ewgSTYBIwkvr2fyQJiiwioSWx6tYgdxGYW8JM4 2/IOzBYW8JBYOmUSUA0HB4uAqkTbeT+QMK+Ag8S8tb/YIObLS+xqu8gKYnMCxT9d7mMEsYUE 7CWOX37KPoGRewEjwypGsdzMnOLc9MwCQ0O94sS8lMzibL3k/NxNjGBPc0buYHw60fwQIxMH p1QDY8CvJ2t8Y0pnbtHMdJoo9eTQa4MPHN2nXG9ofv3YEuQzeYc49+eKR9ycv3pCDaPWfJ99 n91J6QJn/++Zs7bJMtm94byo4LNT8Uxz0OmGh7kXVgWZfJDIOLzxvdmsHxWPvFJ3XJQITnp8 NHNhc5JNwL6IDdLMa3rTBW0DU9rWLm1ju+RYeWlhmBJLcUaioRZzUXEiAMuQyySkAQAA MIME-Version: 1.0 Content-Type: text/plain 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)(39410400002)(39840400002)(39450400003)(39860400002)(39850400002)(2980300002)(438002)(199003)(189002)(2950100002)(36756003)(6916009)(107886002)(47776003)(92566002)(97736004)(50466002)(4001430100002)(305945005)(4326007)(68736007)(6666003)(356003)(54906002)(2270400002)(2906002)(53936002)(38730400001)(626004)(110136003)(189998001)(106466001)(86362001)(50226002)(1076002)(77096006)(5003940100001)(48376002)(5660300001)(81156014)(69596002)(8936002)(50986999)(33646002)(8676002)(76176999)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:CO1PR02MB045; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD012; 1:0MTH5VZzbKS/qqAZXcwPWqQI5EYlq2Eih/dtYjlufbrSVVp1eZufGEQnZ/MNWntQ6PNMWC3ZPmnK1Hs1wBxRFXdYyT/Wtw71Gamsgb+SbFtftG92wgzRfFUEfF9MC4pZOVbu9P2W66v486aIwmi7tDPoSCKdX4e+jSyBTMWjKiq3414WFgYHYbJDlvz6HJjoBIOnGKkBLbu8FW6YBkpmvEpGxhMIThf2OjYvxC74ymaIpN0I9+p2msvmlSqajS+Zd070Om7XvADaa7wKmvcuPTMGJrSwE+tmTxltYtxjJ7dqx6hSEqAiph2C9a975KgtSnmuAewYDEp+s/4a4wZX71hIDA59Gh8FbSbTvUwY6eN8ZDH5aM90czSndTzBwLbGlVluZ7deH81Cs8gfjvLDIw9pVkdHeaTDASKF8DZw17ObQxA0uCABDTqMtfzr4fhfOSqLgxGX7NZV3F5NRtAd6A== X-MS-Office365-Filtering-Correlation-Id: 93b3f9c9-4c48-40f9-513f-08d44177f8dc X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:CO1PR02MB045; X-Microsoft-Exchange-Diagnostics: 1; CO1PR02MB045; 3:IUKTqdGc0qnq09fKWvUvUFQ0edClpqHRFs83ijE1Ykhvx23g2EuJu0C4NJyVYgarKKqs59JYENmx5/ubKrFGmdXJyuluI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j/kmuvp3SM4cJqFLDM+Q==; 20:B81D7XTHdPJ2CQFRuUFBmMUSPbvts7PRfvAVPUlW+EXmHIaRwLKWuYACdxg8M+uqIZ8s4nFZETrR3r28EZhs9zuX4iCmPH8M8AAe1KljYJJvmOK641Brqoi+D0Nl5WJn0h+6vdsUaKBwYLdiHGHzOmMdhQU+xK5TEx5p0R40ofK4ynzldRrQN4llqlGRHu+WIQTsckD4yN7H0ckcT5kAa+SPCPNLHM9/++OPkg9gxPjUF9XvSoey7MEqlk20uxl77493r6Uf15A+XmZHviDZdAtCEvKtwv6eBExU9MxcJum9qOvlSoryvFrutOzyPppf8jvicw7a95RjRuW/JBv6uSEPXpyLYZKs7dJELqiUhPZkdT4/rTQlqHrHFHKXlNMHB4dzi740RKg/Qkfv49F60MwHVDl9XjBHxHoaovugBWyofmbbHrRCikEjgMRm+fj37snbO9+VZWikaD70693asNGJ14hoEeY84uEAt0A08xgWGpH+d5hyllzmPbTy/kA4 X-Microsoft-Antispam-PRVS: <CO1PR02MB045A5A05ACEC69482508AA581710@CO1PR02MB045.namprd02.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(13016025)(13018025)(10201501046)(3002001)(6055026)(6041248)(20161123560025)(20161123564025)(20161123562025)(20161123555025)(6072148); SRVR:CO1PR02MB045; BCL:0; PCL:0; RULEID:; SRVR:CO1PR02MB045; X-Microsoft-Exchange-Diagnostics: 1; CO1PR02MB045; 4:5Jjse5LPGVofOS6Y9duF0FuZBsILxbQdTMggnNED2bitv/n3uhqMs6MaSIi246+XcL98xcGgHcyaVKMTT3WXRvwPXzYGxMZ3mmE21dLedxDTSNNdy/xqPq5p6KRBOsGvtSD2Cxv4UgqfNx6mQn0VlABs3dfCO+dn0O5Teos1yIDg0nFk4s0AdGdglqIu/icF5UOg/KTc4mTyKQlhUfoztIffdlw8vl/GaYf5iY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vlXp3daHrIDXjZ4py5q+qLoQVgZsZUpgOF6iTxcA5ZQ8aoL9CjffhLfZVXrihg+8+s0gi9DXggxmmP7FLty05stWOBAzbaozJCWw0/kuLqRgw== X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jan 2017 21:04:49.7872 (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: CO1PR02MB045 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: <linux-rdma.vger.kernel.org> X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_ethtool.c b/drivers/infiniband/ulp/ipoib/ipoib_ethtool.c index 7b6d40ff1acf..bac455a1942d 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib_ethtool.c +++ b/drivers/infiniband/ulp/ipoib/ipoib_ethtool.c @@ -65,7 +65,7 @@ static void ipoib_get_drvinfo(struct net_device *netdev, ib_get_device_fw_str(priv->ca, drvinfo->fw_version, sizeof(drvinfo->fw_version)); - strlcpy(drvinfo->bus_info, dev_name(priv->ca->dma_device), + strlcpy(drvinfo->bus_info, dev_name(priv->ca->dev.parent), sizeof(drvinfo->bus_info)); strlcpy(drvinfo->version, ipoib_driver_version, diff --git a/drivers/infiniband/ulp/ipoib/ipoib_main.c b/drivers/infiniband/ulp/ipoib/ipoib_main.c index 3ce0765a05ab..abb90a2781ba 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib_main.c +++ b/drivers/infiniband/ulp/ipoib/ipoib_main.c @@ -2011,7 +2011,7 @@ static struct net_device *ipoib_add_port(const char *format, if (!priv) goto alloc_mem_failed; - SET_NETDEV_DEV(priv->dev, hca->dma_device); + SET_NETDEV_DEV(priv->dev, hca->dev.parent); priv->dev->dev_id = port - 1; result = ib_query_port(hca, port, &attr);
Prepare for removal of ib_device.dma_device. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> --- drivers/infiniband/ulp/ipoib/ipoib_ethtool.c | 2 +- drivers/infiniband/ulp/ipoib/ipoib_main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)