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 B7F4EA034F for ; Tue, 22 Feb 2022 12:48:35 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A743A41143; Tue, 22 Feb 2022 12:48:35 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id C5D1D40DF4; Tue, 22 Feb 2022 12:48:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645530514; x=1677066514; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=QzJZOtEyT3cDRHpEQv2VbwmubujzgMcN9648UMhDXEc=; b=TJqa2O60HO79cstrYjluyX2Qh/SA42hcDPQHhWh33zpmbCimPJ1q1RvL kijmQqNHTpMyw6ujToNEoEQFQoQiDlTBTpI4CaS4tqd0ffdW/jcAZBk9Q cJZqmV7UXEb/IXENohQyX9BPsBtPdafgkLuka6Yoo8no18zdAwjT12O7Q bq2DN19LMTZJfMIo9jHLdsd50Gam21AD8ajdvUiy+HwOGAaBWEPoH7TwY 2fs3vQs52boiWy/TlYrJ9zNrn1hiQfCF7UUqC1mI361uevMAIGVZ98Bt+ GLGz30J6VFi4R+oHkKppx2Ghok0KXXhn3cXOSvm8RJ9md2vUnF1X4DWVS g==; X-IronPort-AV: E=McAfee;i="6200,9189,10265"; a="249261085" X-IronPort-AV: E=Sophos;i="5.88,387,1635231600"; d="scan'208";a="249261085" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Feb 2022 03:48:32 -0800 X-IronPort-AV: E=Sophos;i="5.88,387,1635231600"; d="scan'208";a="490768634" Received: from bricha3-mobl.ger.corp.intel.com ([10.252.15.160]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-SHA; 22 Feb 2022 03:48:30 -0800 Date: Tue, 22 Feb 2022 11:48:27 +0000 From: Bruce Richardson To: Thomas Monjalon Cc: dev@dpdk.org, stable@dpdk.org, Chengwen Feng , Kevin Laatz , Morten =?iso-8859-1?Q?Br=F8rup?= , Conor Walsh Subject: Re: [PATCH] dmadev: add missing header include Message-ID: References: <20220222114104.463353-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220222114104.463353-1-thomas@monjalon.net> X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On Tue, Feb 22, 2022 at 12:41:04PM +0100, Thomas Monjalon wrote: > 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 > --- Acked-by: Bruce Richardson