Message ID | 1624624257-3677-1-git-send-email-haakon.bugge@oracle.com (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Jason Gunthorpe |
Headers | show |
Series | [for-rc,v2] RDMA/core/sa_query: Remove unused argument | expand |
On Fri, Jun 25, 2021 at 02:30:57PM +0200, Håkon Bugge wrote: > Fixes:4c33bd1926cc ("IB/SA: Add support to query OPA path records") > Signed-off-by: Håkon Bugge <haakon.bugge@oracle.com> > --- > > v1 -> v2: > * Fixed missing semicolon, as: > Reported-by: kernel test robot <lkp@intel.com> > --- > drivers/infiniband/core/sa_query.c | 6 ++---- > 1 file changed, 2 insertions(+), 4 deletions(-) Applied to for-next, thanks Jason
> On 25 Jun 2021, at 16:45, Jason Gunthorpe <jgg@nvidia.com> wrote: > > On Fri, Jun 25, 2021 at 02:30:57PM +0200, Håkon Bugge wrote: >> Fixes:4c33bd1926cc ("IB/SA: Add support to query OPA path records") >> Signed-off-by: Håkon Bugge <haakon.bugge@oracle.com> >> --- >> >> v1 -> v2: >> * Fixed missing semicolon, as: >> Reported-by: kernel test robot <lkp@intel.com> >> --- >> drivers/infiniband/core/sa_query.c | 6 ++---- >> 1 file changed, 2 insertions(+), 4 deletions(-) > > Applied to for-next, thanks Thanks for all of my commits you applied. Håkon
diff --git a/drivers/infiniband/core/sa_query.c b/drivers/infiniband/core/sa_query.c index 8f1705c..fec2be5 100644 --- a/drivers/infiniband/core/sa_query.c +++ b/drivers/infiniband/core/sa_query.c @@ -1444,8 +1444,7 @@ enum opa_pr_supported { */ static int opa_pr_query_possible(struct ib_sa_client *client, struct ib_sa_device *sa_dev, - struct ib_device *device, u32 port_num, - struct sa_path_rec *rec) + struct ib_device *device, u32 port_num) { struct ib_port_attr port_attr; @@ -1567,8 +1566,7 @@ int ib_sa_path_rec_get(struct ib_sa_client *client, query->sa_query.port = port; if (rec->rec_type == SA_PATH_REC_TYPE_OPA) { - status = opa_pr_query_possible(client, sa_dev, device, port_num, - rec); + status = opa_pr_query_possible(client, sa_dev, device, port_num); if (status == PR_NOT_SUPPORTED) { ret = -EINVAL; goto err1;
Fixes:4c33bd1926cc ("IB/SA: Add support to query OPA path records") Signed-off-by: Håkon Bugge <haakon.bugge@oracle.com> --- v1 -> v2: * Fixed missing semicolon, as: Reported-by: kernel test robot <lkp@intel.com> --- drivers/infiniband/core/sa_query.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)