[v1] net/octeontx/base: fix debug build with clang

Message ID 205e71d780a011f385dd556fe383bc4137c5f1fe.1625810473.git.sthotton@marvell.com (mailing list archive)
State Accepted, archived
Delegated to: David Marchand
Headers
Series [v1] net/octeontx/base: fix debug build with clang |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/github-robot success github build: passed
ci/iol-intel-Functional success Functional Testing PASS
ci/iol-intel-Performance success Performance Testing PASS
ci/Intel-compilation fail Compilation issues
ci/intel-Testing success Testing PASS
ci/iol-abi-testing warning Testing issues
ci/iol-testing success Testing PASS

Commit Message

Shijith Thotton July 9, 2021, 6:02 a.m. UTC
  From: David Marchand <david.marchand@redhat.com>

Remove conflicting declaration of this symbol.

Fixes: d0d654986018 ("net/octeontx: support event Rx adapter")
Cc: stable@dpdk.org

Signed-off-by: David Marchand <david.marchand@redhat.com>
---
 drivers/net/octeontx/base/octeontx_pkivf.h | 1 -
 1 file changed, 1 deletion(-)
  

Comments

David Marchand July 9, 2021, 12:11 p.m. UTC | #1
On Fri, Jul 9, 2021 at 8:03 AM Shijith Thotton <sthotton@marvell.com> wrote:
>
> From: David Marchand <david.marchand@redhat.com>
>
> Remove conflicting declaration of this symbol.
>
> Fixes: d0d654986018 ("net/octeontx: support event Rx adapter")
> Cc: stable@dpdk.org
>
> Signed-off-by: David Marchand <david.marchand@redhat.com>

Applied, thanks.
  

Patch

diff --git a/drivers/net/octeontx/base/octeontx_pkivf.h b/drivers/net/octeontx/base/octeontx_pkivf.h
index d41eaa57e..8c86841ea 100644
--- a/drivers/net/octeontx/base/octeontx_pkivf.h
+++ b/drivers/net/octeontx/base/octeontx_pkivf.h
@@ -362,7 +362,6 @@  int octeontx_pki_port_open(int port);
 int octeontx_pki_port_hash_config(int port, pki_hash_cfg_t *hash_cfg);
 int octeontx_pki_port_pktbuf_config(int port, pki_pktbuf_cfg_t *buf_cfg);
 int octeontx_pki_port_create_qos(int port, pki_qos_cfg_t *qos_cfg);
-int octeontx_pki_port_close(int port);
 int octeontx_pki_port_errchk_config(int port, pki_errchk_cfg_t *cfg);
 int octeontx_pki_port_vlan_fltr_config(int port,
 				pki_port_vlan_filter_config_t *fltr_cfg);