IB/core: Flip to the new dev walk API
authorDavid Ahern <dsa@cumulusnetworks.com>
Tue, 18 Oct 2016 02:15:46 +0000 (19:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Oct 2016 15:44:59 +0000 (11:44 -0400)
commit453d39329ad03f9f6d93ec6d0d57bf7a1e2a20c7
tree85e31b2814e39341b792b1480773cb46773e4fe5
parentb3208b2024c9089106df52ae25ebf39068d6f9fc
IB/core: Flip to the new dev walk API

Convert rdma_is_upper_dev_rcu, handle_netdev_upper and
ipoib_get_net_dev_match_addr to the new upper device walk API.
This is just a code conversion; no functional change is intended.

v2
- removed typecast of data

Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/infiniband/core/core_priv.h
drivers/infiniband/core/roce_gid_mgmt.c