Linux RDMA and InfiniBand development
 help / color / mirror / Atom feed
* [PATCH] cxgb4: delete unused prototype
@ 2024-01-23 10:32 Alexey Dobriyan
  2024-01-25 10:06 ` Leon Romanovsky
  2024-01-25 10:07 ` Leon Romanovsky
  0 siblings, 2 replies; 3+ messages in thread
From: Alexey Dobriyan @ 2024-01-23 10:32 UTC (permalink / raw)
  To: Potnuri Bharat Teja; +Cc: linux-rdma, Jason Gunthorpe, Leon Romanovsky

c4iw_ep_redirect() doesn't exist (and g++ doesn't like it because "new"
is reserved keyword in C++).

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

 drivers/infiniband/hw/cxgb4/iw_cxgb4.h |    2 --
 1 file changed, 2 deletions(-)

--- a/drivers/infiniband/hw/cxgb4/iw_cxgb4.h
+++ b/drivers/infiniband/hw/cxgb4/iw_cxgb4.h
@@ -930,8 +930,6 @@ void c4iw_id_table_free(struct c4iw_id_table *alloc);
 
 typedef int (*c4iw_handler_func)(struct c4iw_dev *dev, struct sk_buff *skb);
 
-int c4iw_ep_redirect(void *ctx, struct dst_entry *old, struct dst_entry *new,
-		     struct l2t_entry *l2t);
 void c4iw_put_qpid(struct c4iw_rdev *rdev, u32 qpid,
 		   struct c4iw_dev_ucontext *uctx);
 u32 c4iw_get_resource(struct c4iw_id_table *id_table);

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

* Re: [PATCH] cxgb4: delete unused prototype
  2024-01-23 10:32 [PATCH] cxgb4: delete unused prototype Alexey Dobriyan
@ 2024-01-25 10:06 ` Leon Romanovsky
  2024-01-25 10:07 ` Leon Romanovsky
  1 sibling, 0 replies; 3+ messages in thread
From: Leon Romanovsky @ 2024-01-25 10:06 UTC (permalink / raw)
  To: Alexey Dobriyan; +Cc: Potnuri Bharat Teja, linux-rdma, Jason Gunthorpe

On Tue, Jan 23, 2024 at 01:32:59PM +0300, Alexey Dobriyan wrote:
> c4iw_ep_redirect() doesn't exist (and g++ doesn't like it because "new"
> is reserved keyword in C++).

Applied with fixed commit message, g++ and C++ are not relevant for the
kernel code.

Thanks

> 
> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
> ---
> 
>  drivers/infiniband/hw/cxgb4/iw_cxgb4.h |    2 --
>  1 file changed, 2 deletions(-)
> 
> --- a/drivers/infiniband/hw/cxgb4/iw_cxgb4.h
> +++ b/drivers/infiniband/hw/cxgb4/iw_cxgb4.h
> @@ -930,8 +930,6 @@ void c4iw_id_table_free(struct c4iw_id_table *alloc);
>  
>  typedef int (*c4iw_handler_func)(struct c4iw_dev *dev, struct sk_buff *skb);
>  
> -int c4iw_ep_redirect(void *ctx, struct dst_entry *old, struct dst_entry *new,
> -		     struct l2t_entry *l2t);
>  void c4iw_put_qpid(struct c4iw_rdev *rdev, u32 qpid,
>  		   struct c4iw_dev_ucontext *uctx);
>  u32 c4iw_get_resource(struct c4iw_id_table *id_table);
> 

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

* Re: [PATCH] cxgb4: delete unused prototype
  2024-01-23 10:32 [PATCH] cxgb4: delete unused prototype Alexey Dobriyan
  2024-01-25 10:06 ` Leon Romanovsky
@ 2024-01-25 10:07 ` Leon Romanovsky
  1 sibling, 0 replies; 3+ messages in thread
From: Leon Romanovsky @ 2024-01-25 10:07 UTC (permalink / raw)
  To: Potnuri Bharat Teja, Alexey Dobriyan
  Cc: linux-rdma, Jason Gunthorpe, Leon Romanovsky


On Tue, 23 Jan 2024 13:32:59 +0300, Alexey Dobriyan wrote:
> c4iw_ep_redirect() doesn't exist (and g++ doesn't like it because "new"
> is reserved keyword in C++).
> 
> 

Applied, thanks!

[1/1] cxgb4: delete unused prototype
      https://git.kernel.org/rdma/rdma/c/9bd5653f76772c

Best regards,
-- 
Leon Romanovsky <leon@kernel.org>

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

end of thread, other threads:[~2024-01-25 10:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-23 10:32 [PATCH] cxgb4: delete unused prototype Alexey Dobriyan
2024-01-25 10:06 ` Leon Romanovsky
2024-01-25 10:07 ` Leon Romanovsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox