Skip to content

Commit

Permalink
RDS: net: Switch from dma_device to dev.parent
Browse files Browse the repository at this point in the history
Prepare for removal of ib_device.dma_device.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
  • Loading branch information
Bart Van Assche authored and Doug Ledford committed Jan 24, 2017
1 parent e3dfa60 commit 5f68dca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/rds/ib.h
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ struct rds_ib_device {
struct work_struct free_work;
};

#define ibdev_to_node(ibdev) dev_to_node(ibdev->dma_device)
#define ibdev_to_node(ibdev) dev_to_node((ibdev)->dev.parent)
#define rdsibdev_to_node(rdsibdev) ibdev_to_node(rdsibdev->dev)

/* bits for i_ack_flags */
Expand Down

0 comments on commit 5f68dca

Please sign in to comment.