[PATCH] bnx2x: Remove the repeated declaration

Subsystems: broadcom bnx2x 10 gigabit ethernet driver, networking drivers, the rest

STALE1925d LANDED

Landed in mainline as 44fdd2edb36f on 2021-06-01.

3 messages, 3 authors, 2021-06-01 · open the first message on its own page

[PATCH] bnx2x: Remove the repeated declaration

From: Shaokun Zhang <hidden>
Date: 2021-05-31 08:29:48

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

Cc: Ariel Elior <redacted>
Cc: Sudarsana Kalluru <skalluru@marvell.com>
Cc: GR-everest-linux-l2@marvell.com
Signed-off-by: Shaokun Zhang <redacted>
---
 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

RE: [EXT] [PATCH] bnx2x: Remove the repeated declaration

From: Sudarsana Reddy Kalluru <skalluru@marvell.com>
Date: 2021-05-31 11:12:42

quoted hunk
-----Original Message-----
From: Shaokun Zhang <redacted>
Sent: Monday, May 31, 2021 1:59 PM
To: netdev@vger.kernel.org
Cc: Shaokun Zhang <redacted>; Ariel Elior
[off-list ref]; Sudarsana Reddy Kalluru [off-list ref];
GR-everest-linux-l2 [off-list ref]
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 <redacted>
Cc: Sudarsana Kalluru <skalluru@marvell.com>
Cc: GR-everest-linux-l2@marvell.com
Signed-off-by: Shaokun Zhang <redacted>
---
 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>

Re: [PATCH] bnx2x: Remove the repeated declaration

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-06-01 05:40:06

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 <redacted>
Cc: Sudarsana Kalluru <skalluru@marvell.com>
Cc: GR-everest-linux-l2@marvell.com
Signed-off-by: Shaokun Zhang <redacted>

[...]
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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help