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 5F1E3A0A02; Thu, 14 Jan 2021 13:57:54 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C2FA1141223; Thu, 14 Jan 2021 13:57:53 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id E74F3141213 for ; Thu, 14 Jan 2021 13:57:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1610629072; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=N30dbS1ta7Zh5p7Z/CNGf2qnZFDlfh6R3wJm0rXqr9w=; b=RQEd5+pALrMY4PijZRKKGbYbtlq62W736YIomqzKGq8o+LBBSz/riqLfEV267S0iDpvgHr Xb1cvh8ElQA/xYVRWKbQGfLs0oL8FlvEDoKg7robDmrjwMIduIj5GEILC42PDu6vrvjBZ1 KBnbiuMf+if+BAlvoxNJYr7cW98USeQ= Received: from mail-vk1-f197.google.com (mail-vk1-f197.google.com [209.85.221.197]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-589-oufoi_s3M9GbzTAzAPhx2Q-1; Thu, 14 Jan 2021 07:57:50 -0500 X-MC-Unique: oufoi_s3M9GbzTAzAPhx2Q-1 Received: by mail-vk1-f197.google.com with SMTP id y84so2301739vkd.5 for ; Thu, 14 Jan 2021 04:57:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=N30dbS1ta7Zh5p7Z/CNGf2qnZFDlfh6R3wJm0rXqr9w=; b=IeuNXb9IX5KI3T38N+FexDdWuHdylw4R3o3IfoiicjGiL+6auYaBH28NXZiVWPw2Aq LIzob0voIwdFzmN0z+WiOVtTm862MGAX1iiS7PleMdPr58T6IM5OXhneSzcn0aiZv/ib rCiO03i2JA6iS6l0h8PRUL4ciIk6BDGTcOS9qP4LICEgKhi1HtBd6UpI6RpwR6263SFd UTapxki8U/riouqtXAJXbMCwL9H1klB7bcxpf6Z6h+Bz9eWAL/XNHNQEMw5YluD9J8wo +4lvxkp6SYrNeOfwaWkNKOObRqCYdKX/VzjeWCj6v0tIYSYHyluj1vnOl5yoKHvF5OGw cUnw== X-Gm-Message-State: AOAM532DNIMm2TdVC7L4db+eCeXOtTcxWtClfwi0mQny5q0PCsN8Ze16 gTa5w0O8cMcbPqKlEivB4ZCJL/7ttghf9pD2MajE2qIt6GWJXONcuVgr4/pjM7vnpWR8QpWlj55 joUK4n7jbiJn3ndzF50s= X-Received: by 2002:a67:87d1:: with SMTP id j200mr6532653vsd.10.1610629070437; Thu, 14 Jan 2021 04:57:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJwxgUll2SLaaxxXldMYKpl7bTp1fvci7Z0aQyb4BGy/fOqOtNdHnCZi6wYe8yrGjd7JaIrSvhVgCf+hK7BNkmI= X-Received: by 2002:a67:87d1:: with SMTP id j200mr6532640vsd.10.1610629070250; Thu, 14 Jan 2021 04:57:50 -0800 (PST) MIME-Version: 1.0 References: <20210114110606.21142-1-bruce.richardson@intel.com> <20210114110606.21142-5-bruce.richardson@intel.com> In-Reply-To: <20210114110606.21142-5-bruce.richardson@intel.com> From: David Marchand Date: Thu, 14 Jan 2021 13:57:39 +0100 Message-ID: To: Bruce Richardson , Honnappa Nagarahalli , "Ananyev, Konstantin" Cc: dev , dpdk stable Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH 04/20] ring: fix missing includes for c11 model header 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 Thu, Jan 14, 2021 at 12:07 PM Bruce Richardson wrote: > > Add in the missing includes into the header file for c11 memory model, > so it can be compiled up independently of the other headers. > > Fixes: 39368ebfc606 ("ring: introduce C11 memory model barrier option") > Cc: stable@dpdk.org > > Signed-off-by: Bruce Richardson > --- > lib/librte_ring/rte_ring_c11_mem.h | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/lib/librte_ring/rte_ring_c11_mem.h b/lib/librte_ring/rte_ring_c11_mem.h > index 0fb73a3371..12caf06a31 100644 > --- a/lib/librte_ring/rte_ring_c11_mem.h > +++ b/lib/librte_ring/rte_ring_c11_mem.h > @@ -10,6 +10,10 @@ > #ifndef _RTE_RING_C11_MEM_H_ > #define _RTE_RING_C11_MEM_H_ > > +#include > +#include > +#include > + This header is never directly included, like rte_ring_generic.h. I'd rather flag it as not being checked. -- David Marchand