From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3A4F1A034E; Tue, 22 Feb 2022 12:41:31 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1709A40DF6; Tue, 22 Feb 2022 12:41:31 +0100 (CET) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mails.dpdk.org (Postfix) with ESMTP id 7A74940DF4; Tue, 22 Feb 2022 12:41:30 +0100 (CET) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 285295C01AF; Tue, 22 Feb 2022 06:41:28 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Tue, 22 Feb 2022 06:41:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm3; bh=Sbszy5sCqGBoq3TFHcMYPHGYJKK8GD6/dCQ439 uqy/E=; b=BdDbqkodIDz68NfzfU1+ACqBXTU0QVKO1Z6NjV20r4ZVDkN0CkXDak S8xxc/BtVmmbU/nibmug38dV8YYNTky94KZpLSoM2U5TZr+B0W8RQX9tZC3REnTc lCIeZHvC+djv6adcurUZtB2jmakzryUkM9CrcLo8ZN0Hkj+XbC5zMPSLW+Si8KUu rLUzDMCwt6GDUOdVQ3TFEVGsCGbalJaYf2OExifbM/kavoDE8q+Y07dCRxFBvWq8 AR7ihIskkPCePA7jDiaq6Mtu0zAhb5VrJ8HThCVSPk4h+W9JiKaWc3Tcy/+OvUiI 5qWbFL6ZTi2tq2pO0kzZgEGECl3z8NSw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=Sbszy5 sCqGBoq3TFHcMYPHGYJKK8GD6/dCQ439uqy/E=; b=V4sALrvU/GnjpdgfMIQsRa xINr9kVYnA55/LPH8U6amrujFLjPx6YTa7eHauJLHJz8o9W8c4IV/Fu4bN0m3quT P9W64i4S5FMxcpRnC0qikZe3KAk0jwmQ86Vp8kFzRgBHIPNE2hR5SIkluJc2uP1i pyk7Yl00fHU4MiwOh6z5xxmRzB2716XUvKGgPpD6kd7ebHsDwoPZy5Rb5lI3SQcy FHJxGXn/M54A7M8zaluPce8/5QXxozbHjoLTlgg1KkqsVExr4754pmW5i7yn70zH t7Rtf9bW/+aKcSplu50Uwou0ILoR+HFtxkxBX3dIzm2m63mWCp2x7dMrMe+x8E6A == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrkeekgddvlecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofggtgfgsehtkeertdertdejnecuhfhrohhmpefvhhhomhgrshcu ofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecuggftrf grthhtvghrnhepgffhieelveetvefhieejtdehfeehtdffffeuheffteeuteeluefhheel ueelkeeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 22 Feb 2022 06:41:26 -0500 (EST) From: Thomas Monjalon To: dev@dpdk.org Cc: bruce.richardson@intel.com, stable@dpdk.org, Chengwen Feng , Kevin Laatz , =?UTF-8?q?Morten=20Br=C3=B8rup?= , Conor Walsh Subject: [PATCH] dmadev: add missing header include Date: Tue, 22 Feb 2022 12:41:04 +0100 Message-Id: <20220222114104.463353-1-thomas@monjalon.net> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org When checking C++ compatibility of SDK headers, an error is detected by the compiler: lib/dmadev/rte_dmadev_pmd.h:95:23: error: ‘RTE_DEV_NAME_MAX_LEN’ undeclared here (not in a function) The header file rte_dev.h must be included. Fixes: b36970f2e13e ("dmadev: introduce DMA device library") Cc: stable@dpdk.org Signed-off-by: Thomas Monjalon --- lib/dmadev/rte_dmadev_pmd.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/dmadev/rte_dmadev_pmd.h b/lib/dmadev/rte_dmadev_pmd.h index 5316ad5b5f..82ab7a8cc7 100644 --- a/lib/dmadev/rte_dmadev_pmd.h +++ b/lib/dmadev/rte_dmadev_pmd.h @@ -14,6 +14,8 @@ * by any application. */ +#include + #include "rte_dmadev.h" #ifdef __cplusplus -- 2.34.1