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 DDABFA052A; Thu, 9 Jul 2020 19:46:34 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6A5D01E926; Thu, 9 Jul 2020 19:46:34 +0200 (CEST) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) by dpdk.org (Postfix) with ESMTP id C52311E924 for ; Thu, 9 Jul 2020 19:46:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594316792; 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=Xry4pzv1I9ajK5Q8EpScEyOv9ajXCFshI7GEQKHlsASIYDVL0Z5brCOq1RF9xYmdKC1btr fos4I1r0f1Pd40eVc+UVrUxxwbWH9tjdvc7hrQLIWzIy1aaxXXbxdp1VJJxtpIPujNX5Q+ TkQLLvtyUoToPtuMQjcsAM33CRRUL5s= 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-161-h0kigMTNOceIxgjnjHOBZw-1; Thu, 09 Jul 2020 13:46:25 -0400 X-MC-Unique: h0kigMTNOceIxgjnjHOBZw-1 Received: by mail-vk1-f198.google.com with SMTP id 131so689069vkw.6 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=W9WfmZC2j4z+bz+20HD38KG2DL5eq4TTNfZ6G+o0VYaJTzqwJMd9xUHdxsq5VwsI1C Bvxhe7h1DDSMepsup5Eir/jUrMr510oRjHLSwTWEuru//1J2azZhbfwJS36g7Hy/nS32 tesjm4R3wc0cj2Pj87f75trSteG2n+icTsaQnZUDiN5tNO4RpskdsXV+5MqTd5BDM+P9 a0vUuGykmopQAOo7jOkhiHV7CVOJ66htH1KLgSb5BUN2KLaTrR9cYt5WyxKbMwyNzibD WFnwwW8ZShB4qq2lLcldXViAiKv7TzpEBF7U6lAGfehBDHz2UqLB0d9hAJzcEAv4Tjzy XOTA== X-Gm-Message-State: AOAM531DN4oSqgBTQTH87dhh2/MUmpfiuQS0s26TSiK2DqeRxLnygdlJ QlR/qXSKIa1ihfquvGRL8rImE/YgeK3pw8Djzxu6vkoobvyFfNQEufE2gqcNxm6778nOR3g6v4T iirv73wGVSyh3GFaDcbo= X-Received: by 2002:a67:26c2:: with SMTP id m185mr47170720vsm.39.1594316784578; 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-dev] [dpdk-stable] [PATCH] eal: fix missing include X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 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