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 9FE07A0540 for ; Wed, 21 Sep 2022 13:37:21 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8192A4067C; Wed, 21 Sep 2022 13:37:21 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 82EFE4014F for ; Wed, 21 Sep 2022 13:37:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1663760240; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RO7JkBZrAslilyODqwdW0xBd8/twDBQAc1Poj/X9xqA=; b=WrPQ29tSGBDA5IN+nEyQZQszO/i5NRMxTrpa9h/ZXbfmLN5LI+TykQws1sgiNZcrB/k7bU HVDqSYfEuiFRqy0UgBQYDBpysi6+NlkeRGW+vqlmiZQcm9pda3Z0SQgRWRu+ru0vW4qYX2 2iM4eEmIl7VN2pQXlnuXRjozFlgwle8= Received: from mail-lj1-f198.google.com (mail-lj1-f198.google.com [209.85.208.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-390-UVgn_1d_NPmWXbIhyN3XvA-1; Wed, 21 Sep 2022 07:37:18 -0400 X-MC-Unique: UVgn_1d_NPmWXbIhyN3XvA-1 Received: by mail-lj1-f198.google.com with SMTP id d4-20020a2e9284000000b0025e0f56d216so1915326ljh.7 for ; Wed, 21 Sep 2022 04:37:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date; bh=RO7JkBZrAslilyODqwdW0xBd8/twDBQAc1Poj/X9xqA=; b=PKW47NjYYDhL4+KzpThh4Fgq+cjM0RokKv0itFm//V2j2mdlcfI1+Br2L0YPpYCixe vn2eIwLxLs3qEsHDh+O6UBG9CmtbEpdFBn+KT/lK9pWpfqlhHNvFObMKjiVwFQd7vmWM 5G1JD07fTxtglUdMlNeJvTreRYgneUujjGXHhR3i5hYapplpKPTlt+VgWvYwS4VPhGuq nViO4FKPnIOfkgUiU3YhA51ycjHXkLj1+xlaxooUOu8bLMJwG53mKcwFlqU2sB1u8noB OAkk97WdthqW1gvRDKybW4g6dTVRvX6S371x5eLIBFz5PmIeXbcatrBGJrzxMoiQSwJH cbYA== X-Gm-Message-State: ACrzQf0eVupGYhZaQOoiz7unTsd/RTwBXJtjyBUUGBLKfSl7uBFhuT9w 8H4JlOCpvmM8bWP25RfvofebTfeX0RvIdUD4/KAEurptiqwH9k6P391pjAxA/+8ZtFBt5V+MoKe UD7l1UBk6I/XD+a1R3w== X-Received: by 2002:a2e:8541:0:b0:261:b44b:1a8b with SMTP id u1-20020a2e8541000000b00261b44b1a8bmr9215685ljj.46.1663760237110; Wed, 21 Sep 2022 04:37:17 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5/MrTUwvbim+K18s3ZpdB+/9c1aXztj3ppZiGLpMXFJLTZ4JX/UFGB3iAe1qyY+Unj5YbiJVvO70ZMIWZ5mU4= X-Received: by 2002:a2e:8541:0:b0:261:b44b:1a8b with SMTP id u1-20020a2e8541000000b00261b44b1a8bmr9215676ljj.46.1663760236843; Wed, 21 Sep 2022 04:37:16 -0700 (PDT) MIME-Version: 1.0 References: <20220825223355.410540-1-dmitry.kozliuk@gmail.com> <20220827113222.3951505-1-dmitry.kozliuk@gmail.com> <20220827113222.3951505-5-dmitry.kozliuk@gmail.com> In-Reply-To: <20220827113222.3951505-5-dmitry.kozliuk@gmail.com> From: David Marchand Date: Wed, 21 Sep 2022 13:37:05 +0200 Message-ID: Subject: Re: [PATCH v4 4/4] eal: remove unneeded includes from a public header To: Dmitry Kozlyuk Cc: dev@dpdk.org, ci@dpdk.org X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: ci@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK CI discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ci-bounces@dpdk.org On Sat, Aug 27, 2022 at 1:33 PM Dmitry Kozlyuk w= rote: > > Do not include , , and from , > because they are not used by this file. > Include the needed headers directly from the files that need them. > > Signed-off-by: Dmitry Kozlyuk > --- [snip] > examples/vdpa/main.c | 1 + > examples/vhost/main.c | 2 ++ > examples/vhost/virtio_net.c | 1 + > examples/vhost_blk/vhost_blk.c | 1 + We are missing an update of vm_power_manager example: ../../../dpdk/examples/vm_power_manager/parse.c: In function =E2=80=98parse= _set=E2=80=99: ../../../dpdk/examples/vm_power_manager/parse.c:28:16: error: implicit declaration of function =E2=80=98isblank=E2=80=99 [-Werror=3Dimplicit-function-declaration] 28 | while (isblank(*str)) | ^~~~~~~ ../../../dpdk/examples/vm_power_manager/parse.c:9:1: note: include =E2=80=98=E2=80=99 or provide a declaration of =E2=80=98isblank=E2= =80=99 8 | #include "parse.h" +++ |+#include 9 | I am surprised the CI did not catch this issue. I suspect some dependencies (probably libvirt-devel) are not installed in CI environments. The following diff seems enough to fix the issue, can you double check? diff --git a/examples/vm_power_manager/channel_monitor.c b/examples/vm_power_manager/channel_monitor.c index 97b8def7ca..5fef268662 100644 --- a/examples/vm_power_manager/channel_monitor.c +++ b/examples/vm_power_manager/channel_monitor.c @@ -2,6 +2,7 @@ * Copyright(c) 2010-2014 Intel Corporation */ +#include #include #include #include diff --git a/examples/vm_power_manager/guest_cli/parse.c b/examples/vm_power_manager/guest_cli/parse.c index 528df6d6f1..6ed2d5cb49 100644 --- a/examples/vm_power_manager/guest_cli/parse.c +++ b/examples/vm_power_manager/guest_cli/parse.c @@ -3,9 +3,13 @@ * Copyright(c) 2014 6WIND S.A. */ +#include +#include #include #include + #include + #include "parse.h" /* diff --git a/examples/vm_power_manager/parse.c b/examples/vm_power_manager/parse.c index 8a8dcf05fe..5467035994 100644 --- a/examples/vm_power_manager/parse.c +++ b/examples/vm_power_manager/parse.c @@ -3,8 +3,13 @@ * Copyright(c) 2014 6WIND S.A. */ +#include +#include +#include #include + #include + #include "parse.h" /* --=20 David Marchand