mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
RDMA/ulp: Use dev_name instead of ibdev->name
These return the same thing but dev_name is a more conventional use of the kernel API. Signed-off-by: Jason Gunthorpe <[email protected]> Reviewed-by: Steve Wise <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Reviewed-by: Dennis Dalessandro <[email protected]>
This commit is contained in:
parent
9de6986148
commit
6c8541118b
7 changed files with 30 additions and 24 deletions
|
|
@ -447,7 +447,7 @@ static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi,
|
|||
*/
|
||||
static inline const char *rvt_get_ibdev_name(const struct rvt_dev_info *rdi)
|
||||
{
|
||||
return rdi->ibdev.name;
|
||||
return dev_name(&rdi->ibdev.dev);
|
||||
}
|
||||
|
||||
static inline struct rvt_pd *ibpd_to_rvtpd(struct ib_pd *ibpd)
|
||||
|
|
|
|||
Loading…
Reference in a new issue