All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH for-rc v2] RDMA/core/sa_query: Remove unused argument
@ 2021-06-25 12:30 Håkon Bugge
  2021-06-25 14:45 ` Jason Gunthorpe
  0 siblings, 1 reply; 3+ messages in thread
From: Håkon Bugge @ 2021-06-25 12:30 UTC (permalink / raw)
  To: Doug Ledford, Jason Gunthorpe, Leon Romanovsky; +Cc: linux-rdma

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(-)

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;
-- 
1.8.3.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH for-rc v2] RDMA/core/sa_query: Remove unused argument
  2021-06-25 12:30 [PATCH for-rc v2] RDMA/core/sa_query: Remove unused argument Håkon Bugge
@ 2021-06-25 14:45 ` Jason Gunthorpe
  2021-06-25 16:39   ` Haakon Bugge
  0 siblings, 1 reply; 3+ messages in thread
From: Jason Gunthorpe @ 2021-06-25 14:45 UTC (permalink / raw)
  To: Håkon Bugge; +Cc: Doug Ledford, Leon Romanovsky, linux-rdma

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH for-rc v2] RDMA/core/sa_query: Remove unused argument
  2021-06-25 14:45 ` Jason Gunthorpe
@ 2021-06-25 16:39   ` Haakon Bugge
  0 siblings, 0 replies; 3+ messages in thread
From: Haakon Bugge @ 2021-06-25 16:39 UTC (permalink / raw)
  To: Jason Gunthorpe; +Cc: Doug Ledford, Leon Romanovsky, OFED mailing list



> 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-06-25 16:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-25 12:30 [PATCH for-rc v2] RDMA/core/sa_query: Remove unused argument Håkon Bugge
2021-06-25 14:45 ` Jason Gunthorpe
2021-06-25 16:39   ` Haakon Bugge

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.