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 A527AA0C4D; Wed, 13 Oct 2021 11:00:30 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6DE154116C; Wed, 13 Oct 2021 11:00:30 +0200 (CEST) Received: from mail-108-mta70.mxroute.com (mail-108-mta70.mxroute.com [136.175.108.70]) by mails.dpdk.org (Postfix) with ESMTP id EF88041168 for ; Wed, 13 Oct 2021 11:00:28 +0200 (CEST) Received: from filter004.mxroute.com ([149.28.56.236] filter004.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta70.mxroute.com (ZoneMTA) with ESMTPSA id 17c78e198300000b55.001 for (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256); Wed, 13 Oct 2021 09:00:22 +0000 X-Zone-Loop: 1ac9419958149d7f2cd3d4a678e1c386f41a1e7d875a X-Originating-IP: [149.28.56.236] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ashroe.eu; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date: Message-ID:From:References:Cc:To:Subject:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=oodXFTzL1vIFK+hGJbQaDziQQ6KD5oQFcJ3vEH6l1s0=; b=dVuun6aOuTYLffdYDleP4+WJNv HQenYgogNBfEEDViM3NfG+QNcfXXfwX4Z3XmjBjC8CW6Ho2HFOkgywUN9gEhn2XF2NFvSa+XJ02uI 2IKAQQudH8oExAMRrPPjzkJiCPYY0SvfpoFkcQtBcxtcIYC1HMYGHKjoQuOTauCLCLC9Q86BsmVPP enjYYgWvc4Yvyb1MwbWTczldiNFZxfzan4fRVbtfFn7ccuzFwO7CrHBSKUU3zcWARCSUIkjXk5S/9 R8v27/MQL4p5GiCHKyhdHpbutm/ovoUezodAkiYtWv1lqLz8FM4oKbzKCGopXzICjgim7vO0gEOU5 uyeJYkfA==; To: David Marchand , dev@dpdk.org Cc: thomas@monjalon.net, Anatoly Burakov References: <20211012193927.21838-1-david.marchand@redhat.com> From: "Kinsella, Ray" Message-ID: <0e834c2c-6841-0cd3-b4c9-eb1f9da6230c@ashroe.eu> Date: Wed, 13 Oct 2021 10:00:19 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <20211012193927.21838-1-david.marchand@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-AuthUser: mdr@ashroe.eu X-Zone-Spam-Resolution: no action X-Zone-Spam-Status: No, score=-0.1, required=15, tests=[ARC_NA=0, FROM_HAS_DN=0, RCPT_COUNT_THREE=0, TO_DN_SOME=0, MIME_GOOD=-0.1, FROM_EQ_ENVFROM=0, MIME_TRACE=0, RCVD_COUNT_ZERO=0, NEURAL_SPAM=0, MID_RHS_MATCH_FROM=0] Subject: Re: [dpdk-dev] [PATCH] memzone: enforce valid flags when reserving 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 Sender: "dev" On 12/10/2021 20:39, David Marchand wrote: > If we do not enforce valid flags are passed by an application, this > application might face issues in the future when we add more flags. > > Signed-off-by: David Marchand > --- > app/test/test_memzone.c | 24 ++++++++++++++++++++++++ > lib/eal/common/eal_common_memzone.c | 17 +++++++++++++++++ > 2 files changed, 41 insertions(+) Acked-by: Ray Kinsella