From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 895F8A052A for ; Thu, 9 Jul 2020 19:46:32 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3DFC81E8F8; Thu, 9 Jul 2020 19:46:32 +0200 (CEST) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by dpdk.org (Postfix) with ESMTP id AF3701E8F8 for ; Thu, 9 Jul 2020 19:46:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594316790; 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=k50VzPJYTfJOzVhZuiutfon6YDss0powAnxtN1Qh98Q=; b=Zi4ciN6WiNtUi3rynthEe+bwc4gFUy27UwhKRhvoSKGQbXOvIxDELHNrYw8lMISdGH8xP/ V5ho1+mMwQfHAlGc7KGQezvM4wUQvr8ZktYCfeDMUUJO9T21NIN5qLr58TStM7TC48qB73 QdhXG20nG8MSLBla8tthQ0f9dJZonC4= Received: from mail-vk1-f198.google.com (mail-vk1-f198.google.com [209.85.221.198]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-398-ctORsi1PMOOSr_BcBMdaeQ-1; Thu, 09 Jul 2020 13:46:25 -0400 X-MC-Unique: ctORsi1PMOOSr_BcBMdaeQ-1 Received: by mail-vk1-f198.google.com with SMTP id e12so692710vkd.3 for ; Thu, 09 Jul 2020 10:46:25 -0700 (PDT) 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=k50VzPJYTfJOzVhZuiutfon6YDss0powAnxtN1Qh98Q=; b=KH8Pttii7KsERwIfPXU7ecR9Mcfmgay06ZNwQkZRazbK2NR+Bpdv5XL7j/XzvV+Zvc kX6qLu6bUyfMw9+X250bcJiLB6D1dJYtMvEfX52KXlaaOKJQkACK9a6jRt+Vg0yT9Kbx t5IQBb7TVIaGE+oERL3qd3sne6hwc8VdFKiXOG4cnbGWN1Bl7ikcuFqsnynUpZSNPmY+ ZYafWn2pOH7wWmb+uyLtZaShqGfqPD3fpkxOfaYADXOzEI+WyDJ/1K3GYL0lGoPUoWUp cSWdYOsjm9wUl/zSzE5KnP6siKYvRvsJTcGwJVr0h3XK5QtOkJy/d7aZC1WkcwHBs0PF McMA== X-Gm-Message-State: AOAM533h4I0nDvUB74aEqkdN16IloNYXUow54FgxBGYsrth6C2ry7RZS spWe30CwHCPJfORQhmUyT9WcmsgcQkmjrcAvQDQDJiVQzriFxyO+QMxusQDjG6XbW1Vhax8aJDC Ag+hxO877cbs5wPr6K0hRZs4= X-Received: by 2002:a67:26c2:: with SMTP id m185mr47170719vsm.39.1594316784575; Thu, 09 Jul 2020 10:46:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJnQtb4KdIQaGIOic4LKkxApjnDOqXBJUll1yalE06zWj7z7jqUlMEhIm6AJLhF8zg8EYMt05b3cdFDmjFUSI= X-Received: by 2002:a67:26c2:: with SMTP id m185mr47170699vsm.39.1594316784299; Thu, 09 Jul 2020 10:46:24 -0700 (PDT) MIME-Version: 1.0 References: <20200621074929.317051C014@dpdk.org> In-Reply-To: <20200621074929.317051C014@dpdk.org> From: David Marchand Date: Thu, 9 Jul 2020 19:46:13 +0200 Message-ID: To: Yunjian Wang Cc: dev , Stephen Hemminger , dpdk stable X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] eal: fix missing include X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 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 Sender: "stable" On Sun, Jun 21, 2020 at 9:49 AM Yunjian Wang wrote: > > This patch adds the missing include and fixes the build error: > /dpdk/build/include/rte_uuid.h: In function 'rte_uuid_copy': > /dpdk/build/include/rte_uuid.h:58:2: error: implicit declaration > of function 'memcpy' [-Werror=implicit-function-declaration] > memcpy(dst, src, sizeof(rte_uuid_t)); > ^~~~~~ > > Fixes: 6bc67c497a51 ("eal: add uuid API") > Cc: stable@dpdk.org > > Signed-off-by: Yunjian Wang > --- > lib/librte_eal/include/rte_uuid.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/lib/librte_eal/include/rte_uuid.h b/lib/librte_eal/include/rte_uuid.h > index 044afbdfa..dc86eb292 100644 > --- a/lib/librte_eal/include/rte_uuid.h > +++ b/lib/librte_eal/include/rte_uuid.h > @@ -15,6 +15,7 @@ extern "C" { > #endif > > #include > +#include > > /** > * Struct describing a Universal Unique Identifier > -- > 2.18.1 > A fix for this issue has been submitted before and made it to the main branch this week. https://git.dpdk.org/dpdk/commit/?id=edca6d883eb0137bc3caf7f93651a67360ebdf96 Thanks. -- David Marchand