netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] bnx2x: Remove the repeated declaration
@ 2021-05-31  8:29 Shaokun Zhang
  2021-05-31 11:12 ` [EXT] " Sudarsana Reddy Kalluru
  2021-06-01  5:40 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: Shaokun Zhang @ 2021-05-31  8:29 UTC (permalink / raw)
  To: netdev; +Cc: Shaokun Zhang, Ariel Elior, Sudarsana Kalluru, GR-everest-linux-l2

Function 'bnx2x_vfpf_release' is declared twice, so remove the
repeated declaration.

Cc: Ariel Elior <aelior@marvell.com>
Cc: Sudarsana Kalluru <skalluru@marvell.com>
Cc: GR-everest-linux-l2@marvell.com
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
---
 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h
index 3a716c015415..966d5722c5e2 100644
--- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h
+++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h
@@ -504,7 +504,6 @@ enum sample_bulletin_result bnx2x_sample_bulletin(struct bnx2x *bp);
 /* VF side vfpf channel functions */
 int bnx2x_vfpf_acquire(struct bnx2x *bp, u8 tx_count, u8 rx_count);
 int bnx2x_vfpf_release(struct bnx2x *bp);
-int bnx2x_vfpf_release(struct bnx2x *bp);
 int bnx2x_vfpf_init(struct bnx2x *bp);
 void bnx2x_vfpf_close_vf(struct bnx2x *bp);
 int bnx2x_vfpf_setup_q(struct bnx2x *bp, struct bnx2x_fastpath *fp,
-- 
2.7.4


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

* RE: [EXT] [PATCH] bnx2x: Remove the repeated declaration
  2021-05-31  8:29 [PATCH] bnx2x: Remove the repeated declaration Shaokun Zhang
@ 2021-05-31 11:12 ` Sudarsana Reddy Kalluru
  2021-06-01  5:40 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: Sudarsana Reddy Kalluru @ 2021-05-31 11:12 UTC (permalink / raw)
  To: Shaokun Zhang, netdev; +Cc: Ariel Elior, GR-everest-linux-l2


> -----Original Message-----
> From: Shaokun Zhang <zhangshaokun@hisilicon.com>
> Sent: Monday, May 31, 2021 1:59 PM
> To: netdev@vger.kernel.org
> Cc: Shaokun Zhang <zhangshaokun@hisilicon.com>; Ariel Elior
> <aelior@marvell.com>; Sudarsana Reddy Kalluru <skalluru@marvell.com>;
> GR-everest-linux-l2 <GR-everest-linux-l2@marvell.com>
> Subject: [EXT] [PATCH] bnx2x: Remove the repeated declaration
> 
> External Email
> 
> ----------------------------------------------------------------------
> Function 'bnx2x_vfpf_release' is declared twice, so remove the repeated
> declaration.
> 
> Cc: Ariel Elior <aelior@marvell.com>
> Cc: Sudarsana Kalluru <skalluru@marvell.com>
> Cc: GR-everest-linux-l2@marvell.com
> Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
> ---
>  drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h
> b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h
> index 3a716c015415..966d5722c5e2 100644
> --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h
> +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h
> @@ -504,7 +504,6 @@ enum sample_bulletin_result
> bnx2x_sample_bulletin(struct bnx2x *bp);
>  /* VF side vfpf channel functions */
>  int bnx2x_vfpf_acquire(struct bnx2x *bp, u8 tx_count, u8 rx_count);  int
> bnx2x_vfpf_release(struct bnx2x *bp); -int bnx2x_vfpf_release(struct bnx2x
> *bp);  int bnx2x_vfpf_init(struct bnx2x *bp);  void bnx2x_vfpf_close_vf(struct
> bnx2x *bp);  int bnx2x_vfpf_setup_q(struct bnx2x *bp, struct bnx2x_fastpath
> *fp,
> --
> 2.7.4

Acked-by: Sudarsana Reddy Kalluru <skalluru@marvell.com>

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

* Re: [PATCH] bnx2x: Remove the repeated declaration
  2021-05-31  8:29 [PATCH] bnx2x: Remove the repeated declaration Shaokun Zhang
  2021-05-31 11:12 ` [EXT] " Sudarsana Reddy Kalluru
@ 2021-06-01  5:40 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-06-01  5:40 UTC (permalink / raw)
  To: Shaokun Zhang; +Cc: netdev, aelior, skalluru, GR-everest-linux-l2

Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Mon, 31 May 2021 16:29:16 +0800 you wrote:
> Function 'bnx2x_vfpf_release' is declared twice, so remove the
> repeated declaration.
> 
> Cc: Ariel Elior <aelior@marvell.com>
> Cc: Sudarsana Kalluru <skalluru@marvell.com>
> Cc: GR-everest-linux-l2@marvell.com
> Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
> 
> [...]

Here is the summary with links:
  - bnx2x: Remove the repeated declaration
    https://git.kernel.org/netdev/net-next/c/44fdd2edb36f

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



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

end of thread, other threads:[~2021-06-01  5:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-31  8:29 [PATCH] bnx2x: Remove the repeated declaration Shaokun Zhang
2021-05-31 11:12 ` [EXT] " Sudarsana Reddy Kalluru
2021-06-01  5:40 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).