DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] net/octeon_ep: fix build for non-x86
@ 2022-09-26  7:19 David Marchand
  0 siblings, 0 replies; only message in thread
From: David Marchand @ 2022-09-26  7:19 UTC (permalink / raw)
  To: dev, thomas; +Cc: Radha Mohan Chintakuntla, Veerasenareddy Burru, Sathesh Edara

A recent change removed errno.h from rte_common.h.

x86 EAL headers seem to include it (probably via
rte_spinlock/rte_cpuflags) but other architectures won't.

Add an explicit inclusion.

Fixes: d826133ae88e ("net/octeon_ep: support CN10K SoC")

Signed-off-by: David Marchand <david.marchand@redhat.com>
---

Note: This patch is already applied and pushed in the main repository to fix
builds.

---
 drivers/net/octeon_ep/cnxk_ep_vf.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/net/octeon_ep/cnxk_ep_vf.c b/drivers/net/octeon_ep/cnxk_ep_vf.c
index 52f08c844b..3427fb213b 100644
--- a/drivers/net/octeon_ep/cnxk_ep_vf.c
+++ b/drivers/net/octeon_ep/cnxk_ep_vf.c
@@ -2,8 +2,11 @@
  * Copyright(C) 2022 Marvell.
  */
 
+#include <errno.h>
+
 #include <rte_common.h>
 #include <rte_cycles.h>
+
 #include "cnxk_ep_vf.h"
 
 static void
-- 
2.37.3


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-09-26  7:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-26  7:19 [PATCH] net/octeon_ep: fix build for non-x86 David Marchand

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